[Telepathy-commits] [telepathy-glib/master] tests/dbus/self-presence.c: don't leak the returned statuses

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Mar 4 09:06:30 PST 2009


---
 tests/dbus/self-presence.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/dbus/self-presence.c b/tests/dbus/self-presence.c
index 486f5b0..0165477 100644
--- a/tests/dbus/self-presence.c
+++ b/tests/dbus/self-presence.c
@@ -204,6 +204,8 @@ test_complex_presence (ContactsConnection *service_conn,
   params = NULL;
   g_hash_table_destroy (monster);
   monster = NULL;
+  g_hash_table_destroy (statuses);
+  statuses = NULL;
 }
 
 int
-- 
1.5.6.5




More information about the telepathy-commits mailing list