gustavo's patch on free an empty/unused evas.

SVN revision: 29777
This commit is contained in:
Carsten Haitzler 2007-04-30 04:23:47 +00:00
parent 5e691081ca
commit 7b392c8ce3
2 changed files with 4 additions and 0 deletions

View File

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

View File

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