projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0165f5b
)
[Ecore] Memory leak fixed in Ecore Wayland
57/117457/1
author
ayush.sriv
<ayush.sriv@samsung.com>
Sun, 5 Mar 2017 11:32:01 +0000
(17:02 +0530)
committer
Minchul Lee
<slotus.lee@samsung.com>
Mon, 6 Mar 2017 06:51:39 +0000
(15:51 +0900)
Change-Id: I51fb6d380add79e55cb5acaf7f3b750c72a96d43
Signed-off-by: ayush.sriv <ayush.sriv@samsung.com>
src/lib/ecore_wayland/ecore_wl_dnd.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_wayland/ecore_wl_dnd.c
b/src/lib/ecore_wayland/ecore_wl_dnd.c
index
7c2eb5b
..
39f59f3
100644
(file)
--- a/
src/lib/ecore_wayland/ecore_wl_dnd.c
+++ b/
src/lib/ecore_wayland/ecore_wl_dnd.c
@@
-627,6
+627,14
@@
_ecore_wl_dnd_del(Ecore_Wl_Dnd_Source *source)
if (source->refcount == 0)
{
wl_data_offer_destroy(source->data_offer);
+ // TIZEN_ONLY(20170306): Free the heap allocated content of wl_array
+ if (source->types.data)
+ {
+ char **t;
+ wl_array_for_each(t, &source->types)
+ free(*t);
+ }
+ //
wl_array_release(&source->types);
free(source);
}