summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-31 07:42:09 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-31 07:42:09 +0000
commit46a4409b754ffa05dcebfe7381813a51ad479c1f (patch)
tree3a7bbf77ad82f63d9ddc588a8cdcf342624cfa13 /src
parentbd18fd54c0fbcbaaf624041c2288f26fce7941e3 (diff)
Fixed a double free in m_ident. Found by AnMaster
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8005 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_ident.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index 16629d700..628a7b5aa 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -282,6 +282,7 @@ class ModuleIdent : public Module
if (user->GetExt("IDENT", identstr))
{
delete identstr;
+ user->Shrink("IDENT");
}
}
}
@@ -306,6 +307,7 @@ class ModuleIdent : public Module
if (user->GetExt("IDENT", identstr))
{
delete identstr;
+ user->Shrink("IDENT");
}
}