summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2011-10-17 20:12:48 +0200
committerRoss Burton <ross@linux.intel.com>2011-10-23 21:08:37 +0100
commit5d8110519d2742817f8c44b146189e2acea64cf2 (patch)
treeb9073cf52f74bb956e96d9c989baa2319d209c05
parentdc7e44d0a7a9f34d491ce4629c89cb4b37b7bcca (diff)
downloadgconf-5d8110519d2742817f8c44b146189e2acea64cf2.tar.gz
gconf-dbus: Fix leaks
https://bugzilla.gnome.org/show_bug.cgi?id=659835
-rw-r--r--gconf/gconf-database-dbus.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gconf/gconf-database-dbus.c b/gconf/gconf-database-dbus.c
index 1ba705bd..8fc42e7a 100644
--- a/gconf/gconf-database-dbus.c
+++ b/gconf/gconf-database-dbus.c
@@ -881,6 +881,12 @@ gconf_database_dbus_teardown (GConfDatabase *db)
db);
g_free (db->object_path);
db->object_path = NULL;
+
+ g_hash_table_destroy (db->notifications);
+ db->notifications = NULL;
+
+ g_hash_table_destroy (db->listening_clients);
+ db->listening_clients = NULL;
}
const char *