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:
commit
91d4a30dbc
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user