projects
/
platform
/
core
/
uifw
/
inputdelegator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix issue detected by static analysis tool
[platform/core/uifw/inputdelegator.git]
/
src
/
w-input-selector.cpp
diff --git
a/src/w-input-selector.cpp
b/src/w-input-selector.cpp
index
5c990a2
..
237e4c4
100755
(executable)
--- a/
src/w-input-selector.cpp
+++ b/
src/w-input-selector.cpp
@@
-1031,8
+1031,10
@@
unsigned int _update_smartreply_items(void *user_data)
app_data);
item_size++;
- if (item_size >= 3)
+ free(reply);
+ if (item_size >= 3) {
break;
+ }
}
elm_genlist_item_class_free(itc);
}