summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-11-19 13:33:36 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-11-19 13:33:36 +0000
commit9b40efdeef493eea23d79d27a095ee4052f06a98 (patch)
treea5431559d27d73f70c938e712bf8a92a1bf88df3
parent27ef056e05e7ad8d054492a9f9f8168f69124393 (diff)
downloadtotem-9b40efdeef493eea23d79d27a095ee4052f06a98.tar.gz
Plug a tiny memory leak. (#498076)
2007-11-19 Matthias Clasen <mclasen@redhat.com> * src/plugins/totem-plugins-engine.c (totem_plugins_engine_load_file): Plug a tiny memory leak. (#498076) svn path=/trunk/; revision=4869
-rw-r--r--ChangeLog5
-rw-r--r--src/plugins/totem-plugins-engine.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9da4d3553..e315f4269 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-19 Matthias Clasen <mclasen@redhat.com>
+
+ * src/plugins/totem-plugins-engine.c (totem_plugins_engine_load_file):
+ Plug a tiny memory leak. (#498076)
+
2007-11-17 Tim-Philipp Müller <tim at centricular dot net>
* src/backend/bacon-video-widget-gst-0.10.c: (is_error),
diff --git a/src/plugins/totem-plugins-engine.c b/src/plugins/totem-plugins-engine.c
index fbb2a1b3c..e7f13f9b8 100644
--- a/src/plugins/totem-plugins-engine.c
+++ b/src/plugins/totem-plugins-engine.c
@@ -286,6 +286,7 @@ totem_plugins_engine_load_file (const char *plugin_file)
key_name = g_strdup_printf (GCONF_PREFIX_PLUGIN, info->location);
gconf_client_add_dir (client, key_name, GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
+ g_free (key_name);
key_name = g_strdup_printf (GCONF_PLUGIN_ACTIVE, info->location);
info->active_notification_id = gconf_client_notify_add (client,