From 478b07ade55b53f4b9ffe880142fb9a63ed4a8a3 Mon Sep 17 00:00:00 2001 From: Radoslaw Czerski Date: Wed, 17 Aug 2016 15:33:26 +0200 Subject: [PATCH] [Hotfix] NULL check added. Change-Id: I9dc27a0b5ab10a114ba106243c35d98387fdec07 Signed-off-by: Radoslaw Czerski --- src/modules/information/noti.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/information/noti.c b/src/modules/information/noti.c index a69ce50..9eda3fe 100644 --- a/src/modules/information/noti.c +++ b/src/modules/information/noti.c @@ -224,6 +224,8 @@ static void _noti_minicontrol_set(struct noti_status *noti_data) retm_if(ret != NOTIFICATION_ERROR_NONE, "notification_get_tag failed[%d]:%s", ret, get_error_message(ret)); + ret_if (!tag); + if (util_string_prefix_check("minicontrol", tag)){ int p = noti_icon_priority_get(tag); if(p) { -- 2.7.4