test : unref mainloop 29/150729/1 accepted/tizen/4.0/unified/20170920.081714 submit/tizen_4.0/20170918.101140
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>
Mon, 18 Sep 2017 10:05:20 +0000 (19:05 +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;
        }