GDBusMenuModel: plug a leak of a GHashTable
authorRyan Lortie <desrt@desrt.ca>
Mon, 27 Feb 2012 19:00:55 +0000 (14:00 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 27 Feb 2012 19:01:10 +0000 (14:01 -0500)
gio/gdbusmenumodel.c

index f82569e..8eb858d 100644 (file)
@@ -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);