summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2015-06-14 11:14:02 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2015-06-14 11:23:52 +0300
commit05020bb88e9091cdf04071816197b1d1ae45c72b (patch)
tree0004c967bc0d72c2ab972648903c3e535a93a52c
parentd451e9db710774e907f28f79480bfa239a052bfa (diff)
DnD: fix memory leak
-rw-r--r--src/lib/elm_cnp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 702ece9a7..f4a487c15 100644
--- 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)
1533 _x11_dnd_dropable_handle(NULL, 0, 0, act); 1533 _x11_dnd_dropable_handle(NULL, 0, 0, act);
1534 // CCCCCCC: call dnd exit on last obj 1534 // CCCCCCC: call dnd exit on last obj
1535 } 1535 }
1536 eina_list_free(dropable_list);
1536 } 1537 }
1537 else 1538 else
1538 { 1539 {
@@ -3106,6 +3107,7 @@ _wl_dnd_position(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
3106 _wl_dropable_handle(NULL, 0, 0); 3107 _wl_dropable_handle(NULL, 0, 0);
3107 // CCCCCCC: call dnd exit on last obj 3108 // CCCCCCC: call dnd exit on last obj
3108 } 3109 }
3110 eina_list_free(dropable_list);
3109 } 3111 }
3110 } 3112 }
3111 3113