summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_draw_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2007-04-30 04:23:47 +0000
committerCarsten Haitzler <raster@rasterman.com>2007-04-30 04:23:47 +0000
commit7b392c8ce3b92f37c28709672893e007eeb1989f (patch)
treee67179f4bcbd9879fbb9f48a0b5deaf3ab010ad6 /legacy/evas/src/lib/engines/common/evas_draw_main.c
parent5e691081caebbb4cfa5547a1dec5544d3a39a1cd (diff)
gustavo's patch on free an empty/unused evas.
SVN revision: 29777
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_draw_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_draw_main.c b/legacy/evas/src/lib/engines/common/evas_draw_main.c
index 9a6e9141bd..34d9e2ab51 100644
--- a/legacy/evas/src/lib/engines/common/evas_draw_main.c
+++ b/legacy/evas/src/lib/engines/common/evas_draw_main.c
@@ -95,6 +95,8 @@ evas_common_draw_context_new(void)
95EAPI void 95EAPI void
96evas_common_draw_context_free(RGBA_Draw_Context *dc) 96evas_common_draw_context_free(RGBA_Draw_Context *dc)
97{ 97{
98 if (!dc) return;
99
98 evas_common_draw_context_apply_clean_cutouts(&dc->cutout); 100 evas_common_draw_context_apply_clean_cutouts(&dc->cutout);
99 free(dc); 101 free(dc);
100} 102}