projects
/
platform
/
core
/
api
/
notification.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add exception in case pkgname is null
[platform/core/api/notification.git]
/
src
/
notification_ipc.c
diff --git
a/src/notification_ipc.c
b/src/notification_ipc.c
index
3fbb1d3
..
be7b43c
100755
(executable)
--- a/
src/notification_ipc.c
+++ b/
src/notification_ipc.c
@@
-863,6
+863,9
@@
int notification_ipc_request_delete_single(notification_type_e type, char *pkgna
return result;
}
+ if (!pkgname)
+ pkgname = "";
+
body = g_variant_new("(sii)", pkgname, priv_id, uid);
result = _send_sync_noti(body, &reply, "del_noti_single");