Resolve homescreen crash issue TFDF-6429 92/216792/1 tizen_5.5_wearable_hotfix submit/tizen_5.5/20191101.071253 submit/tizen_5.5_wearable_hotfix/20201026.184309
authorPrachi Kumar <prachi.kumar@samsung.com>
Wed, 30 Oct 2019 14:20:12 +0000 (19:50 +0530)
committerPrachi Kumar <prachi.kumar@samsung.com>
Fri, 1 Nov 2019 06:51:33 +0000 (06:51 +0000)
Change-Id: Icbab7545a144a55e00e397dd5857d56ec952787e
(cherry picked from commit 82dc6fb3556bc3336fe094908662e55fca883bcf)

src/apps_data.c
src/cluster_data.c

index a28e84f..48f0fb5 100755 (executable)
@@ -480,10 +480,8 @@ static void __apps_data_item_free(app_data_t *item)
                free(item->owner);
        if (item && item->uri)
                free(item->uri);
-       if (item) {
+       if (item)
                free(item);
-               item = NULL;
-       }
 }
 
 static void __apps_data_print(Eina_List *list)
index bca54d7..5a45bf2 100755 (executable)
@@ -163,10 +163,8 @@ static void __cluster_data_item_free(widget_data_t *item)
                free(item->content_info);
                item->content_info = NULL;
        }
-       if (item) {
+       if (item)
                free(item);
-               item = NULL;
-       }
 
 }