hermet pushed a commit to branch master.


commit aebbc66503f53477076400a9102b7ab5d5d2d3da
Author: Prince Kumar Dubey <prince.du...@samsung.com>
Date:   Wed Sep 23 09:40:31 2015 +0900

    [elm_win] Possible memory leak Fixed.
    Summary: Memory assigned to variable "sd->wm_rot.rots" is not freed on 
window deletion.
    Test Plan: Valgrind catch this memory leak.
    Reviewers: raster, cedric, Hermet
    Reviewed By: Hermet
    Subscribers: govi, rajeshps
    Differential Revision: https://phab.enlightenment.org/D3041
 src/lib/elm_win.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index c918b51..e6de231 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -1941,6 +1941,8 @@ _elm_win_evas_object_smart_del(Eo *obj, Elm_Win_Data *sd)
+   free(sd->wm_rot.rots);
    /* Don't let callback in the air that point to sd */
    ecore_evas_callback_delete_request_set(sd->ee, NULL);
    ecore_evas_callback_resize_set(sd->ee, NULL);


Reply via email to