summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/ocaldialogs.cpp
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2014-02-19 07:18:55 +0000
committerJazzyNico <nicoduf@yahoo.fr>2014-02-19 07:18:55 +0000
commit1eee6e772bc5ab528982db64c68ceb4a46f7f0ac (patch)
treecd58cfe2fcca74080ff8366c4b81eb723a902ce7 /src/ui/dialog/ocaldialogs.cpp
parentDocumentation. Changelog archive update (see Bug #637034). (diff)
downloadinkscape-1eee6e772bc5ab528982db64c68ceb4a46f7f0ac.tar.gz
inkscape-1eee6e772bc5ab528982db64c68ceb4a46f7f0ac.zip
Fix for Bug #1281104 (Open Clipart import dialog crashes with concurrent searches).
Fixed bugs: - https://launchpad.net/bugs/1281104 (bzr r13042)
Diffstat (limited to 'src/ui/dialog/ocaldialogs.cpp')
-rw-r--r--src/ui/dialog/ocaldialogs.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/dialog/ocaldialogs.cpp b/src/ui/dialog/ocaldialogs.cpp
index 93fcab863..f676e75fd 100644
--- a/src/ui/dialog/ocaldialogs.cpp
+++ b/src/ui/dialog/ocaldialogs.cpp
@@ -1166,8 +1166,6 @@ void ImportDialog::on_xml_file_read(const Glib::RefPtr<Gio::AsyncResult>& result
// free the document
xmlFreeDoc(doc);
- // free the global variables that may have been allocated by the parser
- xmlCleanupParser();
}
@@ -1336,7 +1334,8 @@ ImportDialog::ImportDialog(Gtk::Window& parent_window, FileDialogType file_types
*/
ImportDialog::~ImportDialog()
{
-
+ // free the global variables that may have been allocated by the parser
+ xmlCleanupParser();
}
/**