/*Creating the profile property hash for for internal handling*/
/*Create a hash table for the profile property as all fucntion already use ghash table */
- profile_property = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL);
+ profile_property = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);
g_variant_iter_init(&g_iter, property);
while (g_variant_iter_next(&g_iter, "{ss}", &g_key, &g_value)) {
ps_dbg_ex_ctx(context, "dev_name(%s)", dev_name);
params = g_variant_new("(sb)", dev_name, value);
+ g_free(dev_name);
connection = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &error);
if (!connection) {