Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/modules/savers/png
Modified Files:
evas_image_save_png.c
Log Message:
fix unpremul - broken :(
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/modules/savers/png/evas_image_save_png.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- evas_image_save_png.c 30 Sep 2006 10:21:23 -0000 1.4
+++ evas_image_save_png.c 2 Oct 2006 05:19:39 -0000 1.5
@@ -18,7 +18,7 @@
FILE *f;
png_structp png_ptr;
png_infop info_ptr;
- DATA32 *ptr, *data;
+ DATA32 *ptr, *data = NULL;
int x, y, j;
png_bytep row_ptr, png_data = NULL;
png_color_8 sig_bit;
@@ -128,7 +128,7 @@
png_destroy_info_struct(png_ptr, (png_infopp) & info_ptr);
if (im->flags & RGBA_IMAGE_HAS_ALPHA)
- free(data);
+ free(data);
fclose(f);
return 1;
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs