Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/modules/engines/software_16 Modified Files: evas_soft16_main.c Log Message: cedric's sdl patch. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/modules/engines/software_16/evas_soft16_main.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- evas_soft16_main.c 28 Jun 2007 14:36:50 -0000 1.11 +++ evas_soft16_main.c 16 Jul 2007 07:25:34 -0000 1.12 @@ -163,7 +163,7 @@ _calc_stride(sim->image->w), have_alpha, 0); if (!im) { - evas_common_image_unref(sim); + evas_cache_image_drop(sim); return NULL; } @@ -263,7 +263,8 @@ if (!im->pixels) soft16_image_alloc_pixels(im); if (im->pixels) _soft16_image_rgba32_import(im, im->source_im->image->data); } - evas_common_image_unref(im->source_im); + done: + evas_cache_image_drop(im->source_im); im->source_im = NULL; } ------------------------------------------------------------------------- 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