Merge lp:~ted/libdbusmenu/hashtable_free into lp:libdbusmenu/0.5

Proposed by Ted Gould
Status: Merged
Merged at revision: 160
Proposed branch: lp:~ted/libdbusmenu/hashtable_free
Merge into: lp:libdbusmenu/0.5
Diff against target: 14 lines (+4/-0)
1 file modified
libdbusmenu-glib/server.c (+4/-0)
To merge this branch: bzr merge lp:~ted/libdbusmenu/hashtable_free
Reviewer Review Type Date Requested Status
DBus Menu Team Pending
Review via email: mp+35540@code.launchpad.net

Description of the change

Freeing the hashtable used to serialize the menu item.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'libdbusmenu-glib/server.c'
2--- libdbusmenu-glib/server.c 2010-09-14 18:34:32 +0000
3+++ libdbusmenu-glib/server.c 2010-09-15 14:29:00 +0000
4@@ -633,6 +633,10 @@
5 _gvalue_array_append_hashtable(item, dict);
6
7 g_ptr_array_add(output, item);
8+
9+ g_hash_table_unref(dict);
10+
11+ return;
12 }
13
14 static gboolean

Subscribers

People subscribed via source and target branches