From f6982a0964f1d7bbecf9dfb112032ef3d0289ede Mon Sep 17 00:00:00 2001 From: special Date: Fri, 31 Aug 2007 07:43:17 +0000 Subject: backport: Fixed a double free in m_ident. Found by AnMaster git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8006 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules/m_ident.cpp') diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 3e2da1be7..aeacd31f9 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -283,6 +283,7 @@ class ModuleIdent : public Module if (user->GetExt("IDENT", identstr)) { delete identstr; + user->Shrink("IDENT"); } } } @@ -307,6 +308,7 @@ class ModuleIdent : public Module if (user->GetExt("IDENT", identstr)) { delete identstr; + user->Shrink("IDENT"); } } -- cgit v1.3.1-10-gc9f91