Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ice9531ebccb66f24128716506590926f75cd0dc6
return NULL;
}
- noti = (notification_h) calloc(1, sizeof(struct _notification));
+ noti = (notification_h)calloc(1, sizeof(struct _notification));
if (noti == NULL) {
NOTIFICATION_ERR("NO MEMORY : noti == NULL");
set_last_result(NOTIFICATION_ERROR_OUT_OF_MEMORY);
goto out;
}
-
err_app_manager = package_info_create(noti->caller_pkgname, &package_info);
if (err_app_manager != PACKAGE_MANAGER_ERROR_NONE || package_info == NULL) {