summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()");
}