diff options
author | Reinhard Max <max@suse.de> | 2013-12-07 04:39:10 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2013-12-07 04:39:10 +0000 |
commit | 1228eaf1fc2b1824b7bf55757cb55460d0855c4d (patch) | |
tree | 27eeae896823b33815cb8059d4a7a151177ae49c /local.c | |
parent | Merge from upstream on 2012-05-22 (diff) | |
download | w3m-1228eaf1fc2b1824b7bf55757cb55460d0855c4d.tar.gz w3m-1228eaf1fc2b1824b7bf55757cb55460d0855c4d.zip |
Fix a directory descriptor leak in loadLocalDir
Patch from openSUSE on 2009-09-07.
Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-closedir.patch
Bug-Novell: https://bugzilla.novell.com/show_bug.cgi?id=531675
Diffstat (limited to '')
-rw-r--r-- | local.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -109,6 +109,7 @@ loadLocalDir(char *dname) n++; } } + closedir(d); if (multicolList) { l = COLS / (maxlen + 2); |