Some fixes on behalf of GreatBull issue #649

This commit is contained in:
ffsup2
2011-04-29 00:32:36 +02:00
parent a6b2a49785
commit 1233491e7d
2 changed files with 4 additions and 4 deletions

View File

@@ -785,7 +785,7 @@ int ImageIO::saveTIFF (Glib::ustring fname, int bps, bool uncompressed) {
exif->write (8, buffer);
write (TIFFFileno (out), buffer+8, exif_size);
delete buffer;
delete [] buffer;
// let libtiff know that scanlines or any other following stuff should go
// at a different offset:
TIFFSetWriteOffset (out, exif_size+8);