From: JazzyNico Date: Tue, 4 May 2010 04:36:32 +0000 (+0200) Subject: Extension. Fix XAML export crash (Bug #282421). X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=61ea4284827a29afd62d2309488c8e7631c1b665;p=inkscape.git Extension. Fix XAML export crash (Bug #282421). --- diff --git a/src/extension/implementation/xslt.cpp b/src/extension/implementation/xslt.cpp index f34fea64a..143d72362 100644 --- a/src/extension/implementation/xslt.cpp +++ b/src/extension/implementation/xslt.cpp @@ -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; }