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>
This commit is contained in:
Nak-Gyeong Kim 2015-09-09 01:08:45 +02:00 committed by Cedric BAIL
parent a7679b60ac
commit 712db856a2
1 changed files with 1 additions and 0 deletions

View File

@ -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);