From 46a4409b754ffa05dcebfe7381813a51ad479c1f Mon Sep 17 00:00:00 2001 From: special Date: Fri, 31 Aug 2007 07:42:09 +0000 Subject: 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 --- src/modules/m_ident.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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"); } } -- cgit v1.2.3