clean after use

This commit is contained in:
tth 2020-08-22 08:42:07 +02:00
parent 5a34cda32e
commit e3cd73e7db
1 changed files with 2 additions and 2 deletions

View File

@ -79,12 +79,12 @@ for (y=0; y<src->height; y++) {
TIFFWriteScanline(tiff, linebuff, y, 0); TIFFWriteScanline(tiff, linebuff, y, 0);
idx += src->width; idx += src->width;
} }
TIFFClose(tiff); TIFFClose(tiff);
free(linebuff);
return -1; return -1;
} }
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */