[gconf] gconf-dbus: Fix leaks
- From: Ross Burton <rburton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gconf] gconf-dbus: Fix leaks
- Date: Mon, 24 Oct 2011 14:27:12 +0000 (UTC)
commit 5d8110519d2742817f8c44b146189e2acea64cf2
Author: Vincent Untz <vuntz gnome org>
Date: Mon Oct 17 20:12:48 2011 +0200
gconf-dbus: Fix leaks
https://bugzilla.gnome.org/show_bug.cgi?id=659835
gconf/gconf-database-dbus.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gconf/gconf-database-dbus.c b/gconf/gconf-database-dbus.c
index 1ba705b..8fc42e7 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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]