aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2013-12-07 04:40:08 +0000
committerTatsuya Kinoshita <tats@debian.org>2013-12-07 04:40:08 +0000
commit08e742ff2ecce1bbf85c23dcdb75d696f965199d (patch)
treed6652412f064dc8f13747c1be4e17b32e0d0a003
parentMerge branch 'bug/search-next' (diff)
parentFix a directory descriptor leak in loadLocalDir (diff)
downloadw3m-08e742ff2ecce1bbf85c23dcdb75d696f965199d.tar.gz
w3m-08e742ff2ecce1bbf85c23dcdb75d696f965199d.zip
Merge branch 'bug/closedir'
Diffstat (limited to '')
-rw-r--r--local.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/local.c b/local.c
index 959bd66..9428319 100644
--- a/local.c
+++ b/local.c
@@ -109,6 +109,7 @@ loadLocalDir(char *dname)
n++;
}
}
+ closedir(d);
if (multicolList) {
l = COLS / (maxlen + 2);