summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-19 19:23:23 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-19 19:23:23 +0000
commitb6e6289e19ca67aa0643148cb8a2f954daf92282 (patch)
tree545caf29c96887dcc0d50f444bf280bf63270780 /src/modules
parent06f6f5333aa19585f92391462be4484cfd776d24 (diff)
Fix small memory leak (this cant theoretically happen anyway unless you remove a network interface while an ident is connecting, and then youll only leak 12 bytes)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8234 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_ident.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index fd76e87be..9926e5350 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -148,6 +148,7 @@ class IdentRequestSocket : public EventHandler
{
this->Close();
delete[] s;
+ delete[] addr;
throw ModuleException("failed to bind()");
}