[Telepathy-commits] [telepathy-glib/master] tp_run_connection_manager: clear manager global variable when unreffing

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Jan 30 07:10:23 PST 2009


We now assert that this has been done correctly.
---
 telepathy-glib/run.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/run.c b/telepathy-glib/run.c
index a7c2f95..0a391a3 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);
     }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list