summaryrefslogtreecommitdiff
path: root/src/notifications/activenoti.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notifications/activenoti.c')
-rwxr-xr-xsrc/notifications/activenoti.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/notifications/activenoti.c b/src/notifications/activenoti.c
index 35900b8..a6ec4fa 100755
--- a/src/notifications/activenoti.c
+++ b/src/notifications/activenoti.c
@@ -502,6 +502,8 @@ static void _activenoti_remove_list(void)
/**
* For debugging
*/
+ if(info == NULL)
+ continue;
tmp = _get_text(info->noti, NOTIFICATION_TEXT_TYPE_TITLE);
DBG("auto remove %s", tmp);
free(tmp);
@@ -514,6 +516,8 @@ static void _activenoti_remove_list(void)
/**
* For debugging
*/
+ if(info == NULL)
+ continue;
tmp = _get_text(info->noti, NOTIFICATION_TEXT_TYPE_TITLE);
DBG("nont auto remove %s", tmp);
free(tmp);