Change-Id: I5e79c6d4961869b34feb631a8717d3b26604970c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
API void aul_app_com_permission_destroy(aul_app_com_permission_h permission)
{
- if (permission)
- g_free(permission);
+ if (permission == NULL)
+ return;
+
+ if (permission->privilege)
+ g_free(permission->privilege);
+ g_free(permission);
}
API int aul_app_com_permission_set_propagation(aul_app_com_permission_h permission, aul_app_com_propagate_option_e option)
}
printf("==================================\n");
printf("\n");
+ free(member_pids);
+ member_pids = NULL;
}
FINISH:
aul_svc_set_operation(kb, AUL_SVC_OPERATION_DEFAULT);
aul_svc_set_appid(kb, (char *)launch_arg_data->appid);
pid = aul_svc_run_service_for_uid(kb, 0, __reply_cb_func, (void*)NULL, uid);
+ bundle_free(kb);
if (pid <= 0) {
printf("... launch failed\n");
g_main_loop_quit(mainloop);