From b6e6289e19ca67aa0643148cb8a2f954daf92282 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 19 Oct 2007 19:23:23 +0000 Subject: 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 --- src/modules/m_ident.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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()"); } -- cgit v1.2.3