summaryrefslogtreecommitdiff
path: root/telepathy-glib/run.c
diff options
context:
space:
mode:
authorDafydd Harries <dafydd.harries@collabora.co.uk>2007-09-25 08:45:34 +0000
committerDafydd Harries <dafydd.harries@collabora.co.uk>2007-09-25 08:45:34 +0000
commit141b8141ed17c93c8155e51bcd998b432321ad8a (patch)
treea12b65b9df3246d6adb7bae049bf8e516177bdc0 /telepathy-glib/run.c
parent939d1de7dc49454a877f1733ea02d8e56d5a4990 (diff)
downloadtelepathy-glib-141b8141ed17c93c8155e51bcd998b432321ad8a.tar.gz
run.c: unref mainloop after it finishes running
20070925084534-c9803-fdeee12fe4275235104f4fd1d4cb36bf18027e88.gz
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 8c1dd58ed..d74f3d0fb 100644
--- a/telepathy-glib/run.c
+++ b/telepathy-glib/run.c
@@ -239,6 +239,7 @@ tp_run_connection_manager (const char *prog_name,
timeout_id = g_timeout_add (DIE_TIME, kill_connection_manager, NULL);
g_main_loop_run (mainloop);
+ g_main_loop_unref (mainloop);
return 0;
}