diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/core/ns_suspend.c | 2 | ||||
-rw-r--r-- | version.log | 3 |
3 files changed, 5 insertions, 1 deletions
@@ -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] diff --git a/src/core/ns_suspend.c b/src/core/ns_suspend.c index 8baaec865..acd135e24 100644 --- a/src/core/ns_suspend.c +++ b/src/core/ns_suspend.c @@ -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))) { diff --git a/version.log b/version.log index ee12dbd2f..22c5a7526 100644 --- a/version.log +++ b/version.log @@ -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. |