mirror of
https://github.com/anope/anope.git
synced 2026-07-01 05:56:38 +02:00
Fix memory leak in NS SUSPEND, patch by Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2327 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -34,6 +34,7 @@ Provided by Adam <Adam@SubZeroIRC.net> - 2009
|
||||
05/08 F Allow jupe on all bar uplink and self. [#1076]
|
||||
05/10 F MySQL query should no longer fail when password/salt are long [#1078]
|
||||
06/11 F Fixed potential crash in Charybdis protocol module. [ #00]
|
||||
06/15 F Fix memory leak in NS SUSPEND. [ #00]
|
||||
|
||||
Provided by mooncup <mooncup@anonnet.org> - 2009
|
||||
02/04 F Automatically reapply vhost on hs off for unreal32. [ #00]
|
||||
|
||||
@@ -115,6 +115,8 @@ int do_suspend(User * u)
|
||||
na2 = na->nc->aliases.list[i];
|
||||
if (na2->nc == na->nc) {
|
||||
na2->status &= ~(NS_IDENTIFIED | NS_RECOGNIZED);
|
||||
if (na2->last_quit)
|
||||
free(na2->last_quit);
|
||||
na2->last_quit = sstrdup(reason);
|
||||
/* remove nicktracking */
|
||||
if ((u2 = finduser(na2->nick))) {
|
||||
|
||||
+2
-1
@@ -9,10 +9,11 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="8"
|
||||
VERSION_PATCH="0"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="2322"
|
||||
VERSION_BUILD="2327"
|
||||
|
||||
# $Log$ # Changes since 1.8.0 Release
|
||||
|
||||
#Revision 2327 - Fix memory leak in NS SUSPEND, patch by Adam.
|
||||
#Revision 2322 - Bugfix for bug #1082, remove check for NSModeOnID from NS UPDATE, it's not logical to check for NSModeOnID since you must be identified to use NS UPDATE anyways.
|
||||
#Revision 2321 - Fix potential crash in Charybdis protocol module, patch by Adam.
|
||||
#Revision 2316 - Change default of UnRestrictSAdmin to enabled, so hopefully we get less users complaining about their +a being removed and being unable to use /sa* commands.
|
||||
|
||||
Reference in New Issue
Block a user