[glom] Call xmlCleanupParser() because libxml++ does not anywmore.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Call xmlCleanupParser() because libxml++ does not anywmore.
- Date: Mon, 8 Nov 2010 15:18:23 +0000 (UTC)
commit 899b609cb350b14cc2dad173fade32c811c48e42
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Nov 8 16:18:16 2010 +0100
Call xmlCleanupParser() because libxml++ does not anywmore.
* glom/main.cc: main(): Call xmlCleanupParser() to clean up libxml to help
valgrind.
ChangeLog | 7 +++++++
glom/main.cc | 3 +++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b5c0164..400e863 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-11-08 Murray Cumming <murrayc murrayc com>
+
+ Call xmlCleanupParser() because libxml++ does not anywmore.
+
+ * glom/main.cc: main(): Call xmlCleanupParser() to clean up libxml to help
+ valgrind.
+
2010-11-08 Murray Cumming <murrayc murrayc com>>
FlowTableWithFields: Fix some widget expansion behaviour.
diff --git a/glom/main.cc b/glom/main.cc
index 39bd5d1..4e72f5d 100644
--- a/glom/main.cc
+++ b/glom/main.cc
@@ -648,6 +648,9 @@ main(int argc, char* argv[])
Glom::libglom_deinit();
+ //Tell libxml to clean things up to make valgrind more useful:
+ xmlCleanupParser();
+
//These fail, probably because of previous things that are causing leaks:
//cairo_debug_reset_static_data(); //This crashes with _cairo_hash_table_destroy: Assertion `hash_table->live_entries == 0' failed.
//FcFini(); //This crashes with "FcCacheFini: Assertion `fcCacheChains[i] == ((void *)0)' failed."
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]