Coverity issue #108808 fix 69/190369/1 accepted/tizen/unified/20181001.150856 submit/tizen/20181001.165635
authorVikas Kumar Agrawal <vikas.ag@samsung.com>
Mon, 1 Oct 2018 16:31:05 +0000 (22:01 +0530)
committerVikas Kumar Agrawal <vikas.ag@samsung.com>
Mon, 1 Oct 2018 16:31:51 +0000 (22:01 +0530)
Change-Id: I8afa7a6e5770ff8e3057863fdfd13882b37e48ad
Signed-off-by: Vikas Kumar Agrawal <vikas.ag@samsung.com>
src/notification/noti_detail_view.c

index 7a1b3597adf062217dfbe715f79fd8e1be6a1934..619e1ba9456e9fac8098bf1c06d311c84e8af770 100755 (executable)
@@ -658,8 +658,12 @@ static void _noti_detail_view_set_contents(Eina_Bool is_popup)
        }
 
        Evas_Object *bottom_spacer = _noti_create_detail_view_item_layout("detail_bottom_space");
-       ret_if(!bottom_spacer);
-
+       if (!bottom_spacer) {
+               _E("bottom_spacer = NULL");
+               free(text_time);
+               text_time = NULL;
+               return;
+       }
        icon = elm_image_add(bottom_spacer);
 
        _D("is_valid_pkg_id [%d]", is_valid_pkg_id);