aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-09-22 18:38:49 +0800
committerMilan Crha <mcrha@redhat.com>2009-09-22 18:38:49 +0800
commitb1cbbd1833180a1399ee9c71c7208f3a6d278c4d (patch)
tree1ccf592a201b657240eb5619c9e4f8a98766415a /e-util/e-plugin.c
parentdc21b314e937b139b63fb182b3b1f2de7fdc7ed9 (diff)
downloadgsoc2013-evolution-b1cbbd1833180a1399ee9c71c7208f3a6d278c4d.tar
gsoc2013-evolution-b1cbbd1833180a1399ee9c71c7208f3a6d278c4d.tar.gz
gsoc2013-evolution-b1cbbd1833180a1399ee9c71c7208f3a6d278c4d.tar.bz2
gsoc2013-evolution-b1cbbd1833180a1399ee9c71c7208f3a6d278c4d.tar.lz
gsoc2013-evolution-b1cbbd1833180a1399ee9c71c7208f3a6d278c4d.tar.xz
gsoc2013-evolution-b1cbbd1833180a1399ee9c71c7208f3a6d278c4d.tar.zst
gsoc2013-evolution-b1cbbd1833180a1399ee9c71c7208f3a6d278c4d.zip
Fix few valgrind claims
Diffstat (limited to 'e-util/e-plugin.c')
-rw-r--r--e-util/e-plugin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c
index 49a15da651..0716ff79d4 100644
--- a/e-util/e-plugin.c
+++ b/e-util/e-plugin.c
@@ -181,6 +181,8 @@ ep_construct (EPlugin *ep, xmlNodePtr root)
} else {
ep->hooks = g_slist_append(ep->hooks, hook);
}
+ } else {
+ g_free (class);
}
} else if (strcmp((gchar *)node->name, "description") == 0) {
ep->description = e_plugin_xml_content_domain(node, ep->domain);
@@ -464,6 +466,10 @@ ep_load(const gchar *filename, gint load_level)
}
}
+ xmlFreeDoc (pdoc->doc);
+ g_free (pdoc->filename);
+ g_free (pdoc);
+
return 0;
}