aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-13 18:28:29 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-13 19:08:56 +0800
commit2ea53064d10dfe8ab13f6a7af3355a3f56d2d56f (patch)
treeb3550fbb097e032b740f3df94806315fc3e590d8 /src/empathy.c
parent4ec913aeb99b71c85da47e47490954a22465babc (diff)
downloadgsoc2013-empathy-2ea53064d10dfe8ab13f6a7af3355a3f56d2d56f.tar
gsoc2013-empathy-2ea53064d10dfe8ab13f6a7af3355a3f56d2d56f.tar.gz
gsoc2013-empathy-2ea53064d10dfe8ab13f6a7af3355a3f56d2d56f.tar.bz2
gsoc2013-empathy-2ea53064d10dfe8ab13f6a7af3355a3f56d2d56f.tar.lz
gsoc2013-empathy-2ea53064d10dfe8ab13f6a7af3355a3f56d2d56f.tar.xz
gsoc2013-empathy-2ea53064d10dfe8ab13f6a7af3355a3f56d2d56f.tar.zst
gsoc2013-empathy-2ea53064d10dfe8ab13f6a7af3355a3f56d2d56f.zip
Call xmlCleanupParser() only once when exiting (#600693)
This function should only be called when exiting the application as it cleans up the memory allocated by the library itself. Thanks to Lennart for pointing this out.
Diffstat (limited to 'src/empathy.c')
-rw-r--r--src/empathy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/empathy.c b/src/empathy.c
index ffb22a8eb..4baf5b8f7 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -1065,6 +1065,7 @@ main (int argc, char *argv[])
g_object_unref (unique_app);
notify_uninit ();
+ xmlCleanupParser ();
return EXIT_SUCCESS;
}