# HG changeset patch # User Michael Spacefalcon # Date 1391293327 0 # Node ID 475887e6b396144493e406ec955c6b90001ab324 # Parent e14609e9b907aa1f5cf2fca81a2a6f23bd0f1d91 tiffs IVA: close the file descriptor after mmap diff -r e14609e9b907 -r 475887e6b396 ffstools/tiffs-rd/basics.c --- a/ffstools/tiffs-rd/basics.c Sat Feb 01 22:09:16 2014 +0000 +++ b/ffstools/tiffs-rd/basics.c Sat Feb 01 22:22:07 2014 +0000 @@ -49,6 +49,7 @@ perror("mmap"); exit(1); } + close(fd); } cmd_blkhdr()