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
|
||||
evas_common_draw_context_free(RGBA_Draw_Context *dc)
|
||||
{
|
||||
if (!dc) return;
|
||||
|
||||
evas_common_draw_context_apply_clean_cutouts(&dc->cutout);
|
||||
free(dc);
|
||||
}
|
||||
|
|
|
@ -253,6 +253,8 @@ eng_output_free(void *data)
|
|||
{
|
||||
Render_Engine *re;
|
||||
|
||||
if (!data) return;
|
||||
|
||||
re = (Render_Engine *)data;
|
||||
evas_software_x11_outbuf_free(re->ob);
|
||||
evas_common_tilebuf_free(re->tb);
|
||||
|
|
Loading…
Reference in New Issue