diff options
author | Even Rouault <even.rouault@spatialys.com> | 2019-11-04 20:04:20 +0000 |
---|---|---|
committer | Even Rouault <even.rouault@spatialys.com> | 2019-11-04 20:04:20 +0000 |
commit | 91d4a30dbcab5fdbf34cc1b874633435c579dc76 (patch) | |
tree | a990b305f512f286ecdff6a874c5b968f0e2f88f | |
parent | e0d707dc1524d8c0e20f03396f234e0f1b07b3f4 (diff) | |
parent | f2f1289601402a7424da000632443c7202129db9 (diff) | |
download | libtiff-git-91d4a30dbcab5fdbf34cc1b874633435c579dc76.tar.gz |
Merge branch 'adds-missing-TIFFClose-rgb2ycbcr' into 'master'
adds a missing TIFFClose in rgb2ycbcr tool
See merge request libtiff/libtiff!95
-rw-r--r-- | tools/rgb2ycbcr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/rgb2ycbcr.c b/tools/rgb2ycbcr.c index cf5f956f..cb94d458 100644 --- a/tools/rgb2ycbcr.c +++ b/tools/rgb2ycbcr.c @@ -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)); |