← Back to team overview

ayatana-commits team mailing list archive

[Branch ~dbusmenu-team/dbusmenu/trunk] Rev 160: Free'ing an allocated hashtable.

 

Merge authors:
  Ted Gould (ted)
Related merge proposals:
  https://code.launchpad.net/~ted/dbusmenu/hashtable_free/+merge/35540
  proposed by: Ted Gould (ted)
------------------------------------------------------------
revno: 160 [merge]
committer: Ted Gould <ted@xxxxxxxx>
branch nick: trunk
timestamp: Wed 2010-09-15 09:32:53 -0500
message:
  Free'ing an allocated hashtable.
modified:
  libdbusmenu-glib/server.c


--
lp:dbusmenu
https://code.launchpad.net/~dbusmenu-team/dbusmenu/trunk

Your team ayatana-commits is subscribed to branch lp:dbusmenu.
To unsubscribe from this branch go to https://code.launchpad.net/~dbusmenu-team/dbusmenu/trunk/+edit-subscription
=== modified file 'libdbusmenu-glib/server.c'
--- libdbusmenu-glib/server.c	2010-09-14 18:34:32 +0000
+++ libdbusmenu-glib/server.c	2010-09-15 14:24:38 +0000
@@ -633,6 +633,10 @@
 	_gvalue_array_append_hashtable(item, dict);
 
 	g_ptr_array_add(output, item);
+
+	g_hash_table_unref(dict);
+
+	return;
 }
 
 static gboolean