aboutsummaryrefslogtreecommitdiffstats
path: root/w3mhelperpanel.c
diff options
context:
space:
mode:
authorDavid Crosby <dave@dafyddcrosby.com>2015-07-10 02:37:09 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-08-11 12:59:27 +0000
commit7187784234c13f12beab1d6a942ed3e6b3e8749f (patch)
tree3bd21ca59974dcfd4fadbd4786c16d7235bca120 /w3mhelperpanel.c
parentFix resource leak and a null return value dereference (diff)
downloadw3m-7187784234c13f12beab1d6a942ed3e6b3e8749f.tar.gz
w3m-7187784234c13f12beab1d6a942ed3e6b3e8749f.zip
Fix resource leak
Diffstat (limited to 'w3mhelperpanel.c')
-rw-r--r--w3mhelperpanel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/w3mhelperpanel.c b/w3mhelperpanel.c
index 110794b..96b60a0 100644
--- a/w3mhelperpanel.c
+++ b/w3mhelperpanel.c
@@ -115,6 +115,7 @@ printMailcapPanel(char *mailcap)
printf("</table>\n<input type=submit name=submit value=\"%s\">\n</form>\n\
</body>\n</html>\n",
MSG_DOIT);
+ fclose(f);
}
void