]> git.0d.be Git - empathy.git/commitdiff
tests: Fix memory leak of dbus connection
authorStef Walter <stefw@collabora.co.uk>
Mon, 13 Dec 2010 20:25:38 +0000 (20:25 +0000)
committerStef Walter <stefw@collabora.co.uk>
Fri, 24 Dec 2010 13:40:02 +0000 (07:40 -0600)
https://bugzilla.gnome.org/show_bug.cgi?id=636258#c3

tests/empathy-tls-test.c

index 1149166c97cf42b639e3380e074810b48b4b7f56..31cadfbf6784a514345a08ef407838044d39de59 100644 (file)
@@ -325,6 +325,9 @@ teardown (Test *test, gconstpointer data)
 
   g_main_loop_unref (test->loop);
   test->loop = NULL;
+
+  g_object_unref (test->dbus);
+  test->dbus = NULL;
 }
 
 static void