Enlightenment CVS committal Author : raster Project : e17 Module : libs/imlib2
Dir : e17/libs/imlib2/src/modules/loaders Modified Files: loader_tiff.c Log Message: if u run out of memory - actually free stuff =================================================================== RCS file: /cvs/e/e17/libs/imlib2/src/modules/loaders/loader_tiff.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- loader_tiff.c 17 Mar 2006 08:47:39 -0000 1.6 +++ loader_tiff.c 28 May 2006 00:05:50 -0000 1.7 @@ -224,9 +224,9 @@ { fprintf(stderr, "imlib2-tiffloader: Out of memory\n"); - if (!rast) + if (rast) _TIFFfree(rast); - if (!im->data) + if (im->data) { free(im->data); im->data = NULL; ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs