]> git.saurik.com Git - wxWidgets.git/blobdiff - src/tiff/contrib/dbs/tiff-palette.c
Fit the generic preferences editor dialog to its pages size initially.
[wxWidgets.git] / src / tiff / contrib / dbs / tiff-palette.c
index 458ca7ee75269981be8e73ce1af58a4f1703f41c..76632729d45abd89cacb2c382f62f66fd6a446f7 100644 (file)
@@ -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:
+ */