X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8414a40c52191d4c7cfeea74df22d9d64cbec415..06a32e049c1bad9249079ad2e91659303424a774:/src/tiff/contrib/dbs/tiff-palette.c diff --git a/src/tiff/contrib/dbs/tiff-palette.c b/src/tiff/contrib/dbs/tiff-palette.c index 458ca7ee75..76632729d4 100644 --- a/src/tiff/contrib/dbs/tiff-palette.c +++ b/src/tiff/contrib/dbs/tiff-palette.c @@ -219,6 +219,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(red);free(green);free(blue); return 0; } @@ -274,3 +275,10 @@ Usage() fprintf(stderr, "Usage: %s -depth (8 | 4 | 2 | 1) tiff-image\n", programName); exit(0); } +/* + * Local Variables: + * mode: c + * c-basic-offset: 8 + * fill-column: 78 + * End: + */