projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d451e9d
)
DnD: fix memory leak
author
Daniel Zaoui
<daniel.zaoui@samsung.com>
Sun, 14 Jun 2015 08:14:02 +0000
(11:14 +0300)
committer
Daniel Zaoui
<daniel.zaoui@samsung.com>
Sun, 14 Jun 2015 08:23:52 +0000
(11:23 +0300)
src/lib/elm_cnp.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_cnp.c
b/src/lib/elm_cnp.c
index
702ece9
..
f4a487c
100644
(file)
--- a/
src/lib/elm_cnp.c
+++ b/
src/lib/elm_cnp.c
@@
-1533,6
+1533,7
@@
_x11_dnd_position(void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev)
_x11_dnd_dropable_handle(NULL, 0, 0, act);
// CCCCCCC: call dnd exit on last obj
}
+ eina_list_free(dropable_list);
}
else
{
@@
-3106,6
+3107,7
@@
_wl_dnd_position(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
_wl_dropable_handle(NULL, 0, 0);
// CCCCCCC: call dnd exit on last obj
}
+ eina_list_free(dropable_list);
}
}