- There is a bug that assign a wrong value to is_app boolean value.
Change-Id: I617d385849399d729d55c16ae6f927b3bc4f23b4
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
(cherry picked from commit
110a542df2a44a30e4296ed13e3e0def1f3dd3c2)
appid_cache_t* entry = (appid_cache_t*)calloc(1, sizeof(appid_cache_t));
entry->unique_name = strdup(unique_name);
- entry->is_app = is_app;
+ entry->is_app = is_app ? *is_app : false;
entry->pid = pid;
g_hash_table_foreach_remove(appid_cache_table, __hash_table_remove_cb, (gpointer)unique_name);
g_hash_table_insert(appid_cache_table, &entry->pid, (gpointer)entry);