aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ident.cpp
diff options
context:
space:
mode:
authorGravatar special2007-08-31 07:43:17 +0000
committerGravatar special2007-08-31 07:43:17 +0000
commitf6982a0964f1d7bbecf9dfb112032ef3d0289ede (patch)
tree7bbe29dc6d33f5014daa8dcae0e4a0cdf14e97e8 /src/modules/m_ident.cpp
parentbackport: Fixed a bug introduced in r7827 (does not affect 1.1.12) that would... (diff)
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
Diffstat (limited to 'src/modules/m_ident.cpp')
-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 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");
}
}