aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-09-08 00:39:46 +0800
committerMilan Crha <mcrha@redhat.com>2010-09-08 00:39:46 +0800
commit101305e1c7dc24f5a40e80a900b0777b2634722f (patch)
treecc4fbb384d94d045c192c2b338e8f76db5b9c312 /e-util/e-plugin.c
parentba5bb60860c0e0eff92cd7d2c4ae098fa107c331 (diff)
downloadgsoc2013-evolution-101305e1c7dc24f5a40e80a900b0777b2634722f.tar.gz
gsoc2013-evolution-101305e1c7dc24f5a40e80a900b0777b2634722f.tar.zst
gsoc2013-evolution-101305e1c7dc24f5a40e80a900b0777b2634722f.zip
Various memory leaks
Diffstat (limited to 'e-util/e-plugin.c')
-rw-r--r--e-util/e-plugin.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c
index 0da1151d21..db717e8dcd 100644
--- a/e-util/e-plugin.c
+++ b/e-util/e-plugin.c
@@ -83,9 +83,6 @@ struct _plugin_doc {
gchar *filename;
xmlDocPtr doc;
-
- GSList *plugin_hooks; /* EPlugin objects with pending hooks */
- GSList *plugins; /* xmlNodePtr's of plugins with unknown type (mono,etc) */
};
enum {
@@ -359,7 +356,6 @@ ep_load_plugin (xmlNodePtr root, struct _plugin_doc *pdoc)
pd(printf("Delaying loading of plugin '%s' unknown type '%s'\n", id, prop));
g_free (id);
xmlFree (prop);
- pdoc->plugins = g_slist_prepend (pdoc->plugins, root);
return NULL;
}
xmlFree (prop);
@@ -430,7 +426,6 @@ ep_load (const gchar *filename, gint load_level)
ep->flags &= ~E_PLUGIN_FLAGS_SYSTEM_PLUGIN;
g_free (is_system_plugin);
- pdoc->plugin_hooks = g_slist_prepend (pdoc->plugin_hooks, ep);
ep = NULL;
}
}