summaryrefslogtreecommitdiff
path: root/telepathy-glib/run.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-01-30 15:10:23 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-01-30 15:59:41 +0000
commit40818fe16c36676bbfa7df66c5298e845e25a1ce (patch)
treefa69ce557463da034ba57eb891d1b4546a01308e /telepathy-glib/run.c
parentaedde1eef02790bde54687f1715f0f71aaea8226 (diff)
downloadtelepathy-glib-40818fe16c36676bbfa7df66c5298e845e25a1ce.tar.gz
tp_run_connection_manager: clear manager global variable when unreffing
We now assert that this has been done correctly.
Diffstat (limited to 'telepathy-glib/run.c')
-rw-r--r--telepathy-glib/run.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/telepathy-glib/run.c b/telepathy-glib/run.c
index a7c2f95ba..0a391a3d7 100644
--- a/telepathy-glib/run.c
+++ b/telepathy-glib/run.c
@@ -72,6 +72,7 @@ kill_connection_manager (gpointer data)
{
g_debug ("no connections, and timed out");
g_object_unref (manager);
+ manager = NULL;
g_main_loop_quit (mainloop);
}