[Telepathy-commits] [telepathy-glib/master] bug16307-conn: don't leak a GMainLoop

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Oct 21 07:17:42 PDT 2008


---
 tests/lib/bug16307-conn.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/lib/bug16307-conn.c b/tests/lib/bug16307-conn.c
index 2f1c180..8061303 100644
--- a/tests/lib/bug16307-conn.c
+++ b/tests/lib/bug16307-conn.c
@@ -107,6 +107,8 @@ bug16307_connection_inject_get_status_return (Bug16307Connection *self)
       g_main_loop_run (loop);
 
       g_signal_handler_disconnect (self, get_signal_id);
+
+      g_main_loop_unref (loop);
     }
 
   context = self->priv->get_status_invocation;
-- 
1.5.6.5




More information about the Telepathy-commits mailing list