forked from enlightenment/efl
gustavo's patch on free an empty/unused evas.
SVN revision: 29777
This commit is contained in:
parent
5e691081ca
commit
7b392c8ce3
|
@ -95,6 +95,8 @@ evas_common_draw_context_new(void)
|
||||||
EAPI void
|
EAPI void
|
||||||
evas_common_draw_context_free(RGBA_Draw_Context *dc)
|
evas_common_draw_context_free(RGBA_Draw_Context *dc)
|
||||||
{
|
{
|
||||||
|
if (!dc) return;
|
||||||
|
|
||||||
evas_common_draw_context_apply_clean_cutouts(&dc->cutout);
|
evas_common_draw_context_apply_clean_cutouts(&dc->cutout);
|
||||||
free(dc);
|
free(dc);
|
||||||
}
|
}
|
||||||
|
|
|
@ -253,6 +253,8 @@ eng_output_free(void *data)
|
||||||
{
|
{
|
||||||
Render_Engine *re;
|
Render_Engine *re;
|
||||||
|
|
||||||
|
if (!data) return;
|
||||||
|
|
||||||
re = (Render_Engine *)data;
|
re = (Render_Engine *)data;
|
||||||
evas_software_x11_outbuf_free(re->ob);
|
evas_software_x11_outbuf_free(re->ob);
|
||||||
evas_common_tilebuf_free(re->tb);
|
evas_common_tilebuf_free(re->tb);
|
||||||
|
|
Loading…
Reference in New Issue