1
0
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:
cyberbotx
2009-03-27 15:56:16 +00:00
parent 5c325b5d12
commit 3d4fb90353
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -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
View File
@@ -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;
}
}