source: add g_main_loop_unref for finished mainloop 15/154315/1
authorSooyoung Ha <yoosah.ha@samsung.com>
Tue, 10 Oct 2017 05:01:12 +0000 (14:01 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Tue, 10 Oct 2017 05:01:12 +0000 (14:01 +0900)
Change-Id: Iefd46e1882cee1011454eafee4414e4130df21d9
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
src/sdb.c

index efb8999..a9820bd 100644 (file)
--- a/src/sdb.c
+++ b/src/sdb.c
@@ -1361,6 +1361,7 @@ static void *bootdone_cb(void *x) {
     g_main_loop_run(mainloop);
 
     D("dbus loop exited");
+    g_main_loop_unref(mainloop);
     dbus_connection_unref(bus);
 
     return NULL;