forked from enlightenment/efl
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:
parent
a7679b60ac
commit
712db856a2
|
@ -3837,6 +3837,7 @@ evas_object_image_render_pre(Evas_Object *eo_obj,
|
||||||
idx += idw;
|
idx += idw;
|
||||||
idy = ydy;
|
idy = ydy;
|
||||||
}
|
}
|
||||||
|
eina_rectangle_free(rr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
EINA_COW_PIXEL_WRITE_END(o, pixi_write);
|
EINA_COW_PIXEL_WRITE_END(o, pixi_write);
|
||||||
|
|
Loading…
Reference in New Issue