Author: akv Date: 2012-08-25 12:16:19 +0200 (Sat, 25 Aug 2012) New Revision: 4268
Modified: branches/4175-enfuse/src/rs-enfuse.c Log: Only free first variable if it's allocated. Modified: branches/4175-enfuse/src/rs-enfuse.c =================================================================== --- branches/4175-enfuse/src/rs-enfuse.c 2012-08-25 10:15:44 UTC (rev 4267) +++ branches/4175-enfuse/src/rs-enfuse.c 2012-08-25 10:16:19 UTC (rev 4268) @@ -346,7 +346,8 @@ // FIXME: Aparantly something goes wrong if we copy exifdata (and 16 bit tiff) // rs_exif_copy(first, filename, "sRGB", RS_EXIF_FILE_TYPE_TIFF); - g_free(first); + if (first) + g_free(first); return parsed_filename; } _______________________________________________ Rawstudio-commit mailing list [email protected] http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit
