[dia] Remove potentially dangerous xmlCleanupParser() calls.
- From: Hans Breuer <hans src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [dia] Remove potentially dangerous xmlCleanupParser() calls.
- Date: Sun, 24 Jan 2010 11:22:46 +0000 (UTC)
commit 667f829425849c1ab900ead5dba567e8745125f0
Author: Hans Breuer <hans breuer org>
Date: Wed Jan 13 22:07:03 2010 +0100
Remove potentially dangerous xmlCleanupParser() calls.
http://0pointer.de/blog/projects/beware-of-xmlCleanupParser.html
https://bugzilla.redhat.com/show_bug.cgi?id=554903
app/sheets_dialog_callbacks.c | 3 +--
plug-ins/xslt/xslt.c | 1 -
2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/app/sheets_dialog_callbacks.c b/app/sheets_dialog_callbacks.c
index 5532a3a..6603bc8 100644
--- a/app/sheets_dialog_callbacks.c
+++ b/app/sheets_dialog_callbacks.c
@@ -847,8 +847,7 @@ on_sheets_new_dialog_button_ok_clicked (GtkButton *button,
}
message_error(_("Could not interpret shape file: '%s'"),
dia_message_filename(file_name));
- xmlCleanupParser();
- g_free(file_name);
+ g_free(file_name);
return;
}
object_register_type(ot);
diff --git a/plug-ins/xslt/xslt.c b/plug-ins/xslt/xslt.c
index dff91d1..36c292c 100644
--- a/plug-ins/xslt/xslt.c
+++ b/plug-ins/xslt/xslt.c
@@ -166,7 +166,6 @@ xslt_ok(void)
xmlFreeDoc(res);
xmlFreeDoc(doc);
xsltCleanupGlobals();
- xmlCleanupParser();
xslt_clear();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]