aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdbusmenu-glib/server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c
index d2f4096..68afb92 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -633,6 +633,10 @@ serialize_menuitem(gpointer data, gpointer user_data)
_gvalue_array_append_hashtable(item, dict);
g_ptr_array_add(output, item);
+
+ g_hash_table_unref(dict);
+
+ return;
}
static gboolean