X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8414a40c52191d4c7cfeea74df22d9d64cbec415..8526afcb2c7111282861fbdd9d18aa8fa21156bf:/src/tiff/contrib/dbs/tiff-grayscale.c diff --git a/src/tiff/contrib/dbs/tiff-grayscale.c b/src/tiff/contrib/dbs/tiff-grayscale.c index 551d254fb7..e53c571808 100644 --- a/src/tiff/contrib/dbs/tiff-grayscale.c +++ b/src/tiff/contrib/dbs/tiff-grayscale.c @@ -86,6 +86,7 @@ int main(int argc, char **argv) if ((tif = TIFFOpen(argv[3], "w")) == NULL) { fprintf(stderr, "can't open %s as a TIFF file\n", argv[3]); + free(gray); return 0; } @@ -137,3 +138,10 @@ Usage() fprintf(stderr, "Usage: %s -depth (8 | 4 | 2) tiff-image\n", programName); exit(0); } +/* + * Local Variables: + * mode: c + * c-basic-offset: 8 + * fill-column: 78 + * End: + */