changeset 253:475887e6b396

tiffs IVA: close the file descriptor after mmap
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 01 Feb 2014 22:22:07 +0000
parents e14609e9b907
children 4eeab025b502
files ffstools/tiffs-rd/basics.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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()