Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/engines/common


Modified Files:
        evas_draw_main.c 


Log Message:


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

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_draw_main.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- evas_draw_main.c    4 Apr 2007 09:55:39 -0000       1.21
+++ evas_draw_main.c    30 Apr 2007 04:23:47 -0000      1.22
@@ -95,6 +95,8 @@
 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);
 }



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to