Merge branch 'adds-missing-TIFFClose-rgb2ycbcr' into 'master'

adds a missing TIFFClose in rgb2ycbcr tool

See merge request libtiff/libtiff!95
This commit is contained in:
Even Rouault 2019-11-04 20:04:20 +00:00
commit 91d4a30dbc

View File

@ -129,6 +129,7 @@ main(int argc, char* argv[])
if (!tiffcvt(in, out) ||
!TIFFWriteDirectory(out)) {
(void) TIFFClose(out);
(void) TIFFClose(in);
return (1);
}
} while (TIFFReadDirectory(in));