jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=05020bb88e9091cdf04071816197b1d1ae45c72b

commit 05020bb88e9091cdf04071816197b1d1ae45c72b
Author: Daniel Zaoui <daniel.za...@samsung.com>
Date:   Sun Jun 14 11:14:02 2015 +0300

    DnD: fix memory leak
---
 src/lib/elm_cnp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 702ece9..f4a487c 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)
                   _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);
           }
      }
 

-- 


Reply via email to