[Hotfix] NULL check added. 54/84254/1 submit/tizen/20160817.133606
authorRadoslaw Czerski <r.czerski@samsung.com>
Wed, 17 Aug 2016 13:33:26 +0000 (15:33 +0200)
committerRadoslaw Czerski <r.czerski@samsung.com>
Wed, 17 Aug 2016 13:33:26 +0000 (15:33 +0200)
Change-Id: I9dc27a0b5ab10a114ba106243c35d98387fdec07
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
src/modules/information/noti.c

index a69ce50..9eda3fe 100644 (file)
@@ -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) {