forked from tTh/FloatImg
clean after use
This commit is contained in:
parent
5a34cda32e
commit
e3cd73e7db
|
@ -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;
|
||||||
}
|
}
|
||||||
/* --------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------- */
|
||||||
|
|
Loading…
Reference in New Issue