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:
e42e035
)
Revert "Revert "Revert "Revert "[Ecore] Memory leak fixed in Ecore Wayland""""
38/129038/1
author
Taehyub Kim
<taehyub.kim@samsung.com>
Fri, 12 May 2017 12:22:46 +0000
(21:22 +0900)
committer
Taehyub Kim
<taehyub.kim@samsung.com>
Fri, 12 May 2017 12:22:56 +0000
(21:22 +0900)
This reverts commit
e42e0350306099988b285df334efcc9430ac0ac9
.
Change-Id: Iaa1c3e97b6c43a9979a2c83341482be257a4b54d
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);
}