mirror of
https://github.com/anope/anope.git
synced 2026-07-03 01:13:13 +02:00
Fix potential crash problem with use of free() instead of delete[] from earlier bugfix of bug #1054, also remove item for * help set from TODO as it's been fixed.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2209 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -25,7 +25,6 @@ Legend:
|
||||
Outstanding issues:
|
||||
- autoid
|
||||
- reset +r on change to grouped nick
|
||||
- * help set
|
||||
- ss_main is broken (using oldevent)
|
||||
|
||||
1.9.2
|
||||
|
||||
+1
-1
@@ -142,7 +142,7 @@ int m_privmsg(const char *source, const char *receiver, const char *msg)
|
||||
if (ign) {
|
||||
target = myStrGetToken(msg, ' ', 0);
|
||||
alog("Ignored message from %s to %s using command %s", source, receiver, target);
|
||||
free(target);
|
||||
delete [] target;
|
||||
return MOD_CONT;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user