diff options
| author | 2007-08-31 07:42:09 +0000 | |
|---|---|---|
| committer | 2007-08-31 07:42:09 +0000 | |
| commit | 46a4409b754ffa05dcebfe7381813a51ad479c1f (patch) | |
| tree | 3a7bbf77ad82f63d9ddc588a8cdcf342624cfa13 /src/modules/m_ident.cpp | |
| parent | Fixed a bug introduced in r7827 (does not affect 1.1.12) that would cause an ... (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/modules/m_ident.cpp')
| -rw-r--r-- | src/modules/m_ident.cpp | 2 |
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"); } } |
