test : unref mainloop 12/151412/1 accepted/tizen/unified/20170922.065133 submit/tizen/20170921.012444
authorKichan Kwon <k_c.kwon@samsung.com>
Mon, 18 Sep 2017 10:04:53 +0000 (19:04 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Thu, 21 Sep 2017 01:07:04 +0000 (10:07 +0900)
Change-Id: Ifae35674e0388e86e3ba452003a0b7c500fa55fb
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
test/runtime_info_test_vconf.c

index 2fe712d..0e7d240 100644 (file)
@@ -279,6 +279,7 @@ static gpointer runtime_info_test_cb_thread(gpointer data)
                        runtime_info_test_changed_cb, key_list_bool[CB_TEST_IDX].name);
        if (ret) {
                printf("Failed to register callback. (%d)\n", ret);
+               g_main_loop_unref(mainloop);
                return NULL;
        }