[phonemgr] glibgsmtest: add g_main_loop_unref (loop);



commit 64ec299ba48efbd55b8b66508b09749562b4342f
Author: Daniele Forsi <dforsi src gnome org>
Date:   Tue May 15 19:24:28 2012 +0200

    glibgsmtest: add g_main_loop_unref (loop);

 libgsm/glibgsmtest.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgsm/glibgsmtest.c b/libgsm/glibgsmtest.c
index f52a292..88cb11c 100644
--- a/libgsm/glibgsmtest.c
+++ b/libgsm/glibgsmtest.c
@@ -191,6 +191,7 @@ main (int argc, char **argv)
 			g_timeout_add_seconds (1, (GSourceFunc) send_message, listener);
 			loop = g_main_loop_new (NULL, FALSE);
 			g_main_loop_run (loop);
+			g_main_loop_unref (loop);
 		} else if (list_all != FALSE) {
 			char **array;
 			guint i;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]