diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-12-12 19:04:40 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-12-12 19:04:40 +0000 |
commit | c509a588bfdbe5a0bac2997f28148576ac14cf5c (patch) | |
tree | a686612b90cd13ab270112525fe6999dce79bbb8 /modules/m_help.c | |
parent | aee0e711271bc4ae7488a02487c8302d48014dcb (diff) |
- m_help.c:sendhelpfile(): fixed fd leak
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2656 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_help.c')
-rw-r--r-- | modules/m_help.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/m_help.c b/modules/m_help.c index dc59641..053e9fc 100644 --- a/modules/m_help.c +++ b/modules/m_help.c @@ -52,6 +52,7 @@ sendhelpfile(struct Client *source_p, const char *path, const char *topic) { sendto_one(source_p, form_str(ERR_HELPNOTFOUND), me.name, source_p->name, topic); + fclose(file); return; } |