PREVENT 471944 : Fixed the code generating memory leak 05/49305/1
authorHyojung Jo <hj903.jo@samsung.com>
Mon, 12 Oct 2015 11:30:08 +0000 (20:30 +0900)
committerHyojung Jo <hj903.jo@samsung.com>
Mon, 12 Oct 2015 11:30:08 +0000 (20:30 +0900)
Change-Id: Ib58a2ab59b1c8abd73062ba5835af1738d885b18
Signed-off-by: Hyojung Jo <hj903.jo@samsung.com>
src/data/web.c

index da1733f..0022a80 100644 (file)
@@ -70,7 +70,7 @@ static Eina_List *_get_favorites(enum item_type type)
                }
 
                if (title)
-                       wdata->title = strdup(title);
+                       wdata->title = title;
                if (path)
                        wdata->snapshot_path = strdup((const char *)path);