aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2010-12-14 04:25:38 +0800
committerStef Walter <stefw@collabora.co.uk>2010-12-24 21:40:02 +0800
commit00da7eadfe0ed7c4d080cc1ee076302c37ec0f7b (patch)
tree21435ee7b13a254b3657f7e61ef4c4c29ca7d989 /tests
parentf1bc5efbef341a2af2ebf0f9fc3f687503fe7e07 (diff)
downloadgsoc2013-empathy-00da7eadfe0ed7c4d080cc1ee076302c37ec0f7b.tar
gsoc2013-empathy-00da7eadfe0ed7c4d080cc1ee076302c37ec0f7b.tar.gz
gsoc2013-empathy-00da7eadfe0ed7c4d080cc1ee076302c37ec0f7b.tar.bz2
gsoc2013-empathy-00da7eadfe0ed7c4d080cc1ee076302c37ec0f7b.tar.lz
gsoc2013-empathy-00da7eadfe0ed7c4d080cc1ee076302c37ec0f7b.tar.xz
gsoc2013-empathy-00da7eadfe0ed7c4d080cc1ee076302c37ec0f7b.tar.zst
gsoc2013-empathy-00da7eadfe0ed7c4d080cc1ee076302c37ec0f7b.zip
tests: Fix memory leak of dbus connection
https://bugzilla.gnome.org/show_bug.cgi?id=636258#c3
Diffstat (limited to 'tests')
-rw-r--r--tests/empathy-tls-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/empathy-tls-test.c b/tests/empathy-tls-test.c
index 1149166c9..31cadfbf6 100644
--- a/tests/empathy-tls-test.c
+++ b/tests/empathy-tls-test.c
@@ -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