summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-15 18:37:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-15 18:37:19 +0000
commita077dd4af061e94c0ee5f7a7f6b32363017f84b5 (patch)
treed1a6b92c6ad2d3918ed7e984c1c214c37465d819 /src
parent383caa90d568d8d997a9624a9e6174ddc1a9a3da (diff)
Fix memory leak too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5261 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_httpd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index ba8990afb..301e77e16 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -339,6 +339,7 @@ void HTTPTimeout::Tick(time_t TIME)
{
SE->DelFd(s);
s->Close();
+ delete s;
}
class ModuleHttp : public Module