Change-Id: Ifa88e7a36fd19c144d50c9cec7604541d6aabf24
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
TPL_ERR("Failed to allocate tpl_gthread");
g_main_context_unref(context);
g_main_loop_unref(loop);
+
+ return NULL;
}
g_mutex_init(&new_thread->thread_mutex);
g_mutex_lock(&new_thread->thread_mutex);
new_thread->loop = loop;
- TPL_DEBUG("loop(%p)", loop);
new_thread->init_func = init_func;
new_thread->func_data = func_data;
new_thread->thread = g_thread_new(thread_name,