[glib] GDBusMenuModel: plug a leak of a GHashTable



commit eeccd3866ac679b36f5bff2c8c542b911a09a390
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Feb 27 14:00:55 2012 -0500

    GDBusMenuModel: plug a leak of a GHashTable

 gio/gdbusmenumodel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gdbusmenumodel.c b/gio/gdbusmenumodel.c
index f82569e..8eb858d 100644
--- a/gio/gdbusmenumodel.c
+++ b/gio/gdbusmenumodel.c
@@ -381,6 +381,7 @@ g_dbus_menu_group_unref (GDBusMenuGroup *group)
 
       g_hash_table_remove (group->path->groups, GINT_TO_POINTER (group->id));
       g_hash_table_unref (group->proxies);
+      g_hash_table_unref (group->menus);
 
       g_dbus_menu_path_unref (group->path);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]