diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/notification.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/notification.c b/src/notification.c index c012d5b..30fbf9b 100755 --- a/src/notification.c +++ b/src/notification.c @@ -1407,7 +1407,7 @@ static notification_h _notification_create(notification_type_e type) 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); @@ -1452,7 +1452,6 @@ static notification_h _notification_create(notification_type_e type) goto out; } - err_app_manager = package_info_create(noti->caller_pkgname, &package_info); if (err_app_manager != PACKAGE_MANAGER_ERROR_NONE || package_info == NULL) { |