[Telepathy-commits] [telepathy-glib/master] tests: fix low-hanging memory leaks that were obscuring real (library) leaks

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Mar 4 08:51:19 PST 2009


---
 tests/dbus/channel-introspect.c |    1 +
 tests/dbus/cli-group.c          |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/dbus/channel-introspect.c b/tests/dbus/channel-introspect.c
index b947913..1487ba1 100644
--- a/tests/dbus/channel-introspect.c
+++ b/tests/dbus/channel-introspect.c
@@ -477,6 +477,7 @@ main (int argc,
   g_free (name);
   g_free (conn_path);
   g_free (chan_path);
+  g_free (props_chan_path);
 
   return fail;
 }
diff --git a/tests/dbus/cli-group.c b/tests/dbus/cli-group.c
index 79aee61..186ef89 100644
--- a/tests/dbus/cli-group.c
+++ b/tests/dbus/cli-group.c
@@ -394,6 +394,7 @@ check_removed_error_in_invalidated (void)
   g_object_unref (chan);
   g_object_unref (service_chan);
   g_free (chan_path);
+  tp_intset_destroy (self_handle_singleton);
 }
 
 int
-- 
1.5.6.5




More information about the telepathy-commits mailing list