summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyojung Jo <hj903.jo@samsung.com>2015-10-12 20:30:08 +0900
committerHyojung Jo <hj903.jo@samsung.com>2015-10-12 20:30:08 +0900
commit09c6cc7deb0f7bae64a79b1a80214e255130e275 (patch)
treec7b1e9c1dc2d459b478daa4159bd1eaa3bdf7bd2
parent68f7b3a7b102c15a895d5503c30fc4602592009b (diff)
downloadair_favorite-09c6cc7deb0f7bae64a79b1a80214e255130e275.tar.gz
air_favorite-09c6cc7deb0f7bae64a79b1a80214e255130e275.tar.bz2
air_favorite-09c6cc7deb0f7bae64a79b1a80214e255130e275.zip
PREVENT 471944 : Fixed the code generating memory leak
Change-Id: Ib58a2ab59b1c8abd73062ba5835af1738d885b18 Signed-off-by: Hyojung Jo <hj903.jo@samsung.com>
-rw-r--r--src/data/web.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/web.c b/src/data/web.c
index da1733f..0022a80 100644
--- a/src/data/web.c
+++ b/src/data/web.c
@@ -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);