diff options
Diffstat (limited to 'src/notification_list.c')
-rwxr-xr-x | src/notification_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notification_list.c b/src/notification_list.c index bd80f40..078dc29 100755 --- a/src/notification_list.c +++ b/src/notification_list.c @@ -254,7 +254,7 @@ EXPORT_API int notification_get_detail_list(const char *pkgname, notification_list_h get_list = NULL; int ret = 0; - if (list == NULL) + if (list == NULL || pkgname == NULL) return NOTIFICATION_ERROR_INVALID_PARAMETER; ret = |