hermet pushed a commit to branch elementary-1.15.


commit f281b3f1f748bd854a732e399668e5a8739f20b2
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 6e478f6..53c2ce9 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -1921,6 +1921,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