cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=712db856a2738505f245f2c0c98b3419993246de

commit 712db856a2738505f245f2c0c98b3419993246de
Author: Nak-Gyeong Kim <nakkyong....@samsung.com>
Date:   Wed Sep 9 01:08:45 2015 +0200

    evas: fix memory leak in evas_object_image_render_pre.
    
    Summary:
    Eina_Rectangles are removed from pixel_updates list without 
eina_rectangle_free during render pre stage.
    
    @fix
    
    Test Plan: check memory leak.
    
    Reviewers: cedric, jypark
    
    Subscribers: jypark, cedric
    
    Differential Revision: https://phab.enlightenment.org/D3006
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/evas/canvas/evas_object_image.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index 2f8561f..069cae2 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -3837,6 +3837,7 @@ evas_object_image_render_pre(Evas_Object *eo_obj,
                                  idx += idw;
                                  idy = ydy;
                               }
+                            eina_rectangle_free(rr);
                          }
                     }
                   EINA_COW_PIXEL_WRITE_END(o, pixi_write);

-- 


Reply via email to