From e6996e35f31ac12647dc9987dad29d11782732c2 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 9 Apr 2018 18:50:55 +0900 Subject: [PATCH 1/1] Fix memory leak issue Change-Id: I4edfd884552be40ddd3be851a2c20ed450c811e4 Signed-off-by: Jihoon Kim --- src/w-input-selector.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/w-input-selector.cpp b/src/w-input-selector.cpp index 4b77b7a..f9c1243 100755 --- a/src/w-input-selector.cpp +++ b/src/w-input-selector.cpp @@ -1019,8 +1019,10 @@ unsigned int _update_smartreply_items(void *user_data) } } - if (matched == true) + if (matched == true) { + free(reply); continue; + } elm_genlist_item_append(app_data->genlist, itc, -- 2.7.4