aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_object_image.c
diff options
context:
space:
mode:
authorNak-Gyeong Kim <nakkyong.kim@samsung.com>2015-09-09 01:08:45 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-09-09 01:08:49 +0200
commit712db856a2738505f245f2c0c98b3419993246de (patch)
treef41b1bdf7d66a8225e0457e5693dd7713f31dbbd /src/lib/evas/canvas/evas_object_image.c
parentevas: CID 1323091 (diff)
downloadefl-712db856a2738505f245f2c0c98b3419993246de.tar.gz
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 <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/evas/canvas/evas_object_image.c')
-rw-r--r--src/lib/evas/canvas/evas_object_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index 2f8561f219..069cae2447 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);