Code

Extension. Fix XAML export crash (Bug #282421).
authorJazzyNico <nicoduf@yahoo.fr>
Tue, 4 May 2010 04:36:32 +0000 (06:36 +0200)
committerJazzyNico <nicoduf@yahoo.fr>
Tue, 4 May 2010 04:36:32 +0000 (06:36 +0200)
src/extension/implementation/xslt.cpp

index f34fea64a36a30daaa4f489ec70f20814be59a5c..143d7236241733875e347a1edaf7df85b1e09629 100644 (file)
@@ -132,7 +132,7 @@ XSLT::unload(Inkscape::Extension::Extension *module)
 {
     if (!module->loaded()) { return; }
     xsltFreeStylesheet(_stylesheet);
-    xmlFreeDoc(_parsedDoc);
+    // No need to use xmlfreedoc(_parsedDoc), it's handled by xsltFreeStylesheet(_stylesheet);
     return;
 }