aboutsummaryrefslogtreecommitdiffstats
path: root/libc/tzcode/localtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/tzcode/localtime.c')
-rw-r--r--libc/tzcode/localtime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/tzcode/localtime.c b/libc/tzcode/localtime.c
index 85a913ea6..34892a62d 100644
--- a/libc/tzcode/localtime.c
+++ b/libc/tzcode/localtime.c
@@ -500,6 +500,7 @@ register const int doextend;
if (lseek(fid, off, SEEK_SET) < 0) {
XLOG(( "tzload: could not seek to %d in '%s'\n", off, DATAFILE ));
+ close(fid);
return -1;
}
}