summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 3035b31..446b291 100644
--- a/src/main.c
+++ b/src/main.c
@@ -285,13 +285,15 @@ main (int argc,
loop = g_main_loop_new (NULL, FALSE);
if (do_timed_exit) {
- g_timeout_add (3000 * 60, (GSourceFunc) timed_exit_cb, loop);
+ g_timeout_add (1000 * 30, (GSourceFunc) timed_exit_cb, loop);
}
g_main_loop_run (loop);
g_object_unref (manager);
+ g_main_loop_unref (loop);
+
ret = 0;
out: