summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/nickserv.c2
-rw-r--r--src/users.c4
-rw-r--r--version.log7
4 files changed, 12 insertions, 2 deletions
diff --git a/Changes b/Changes
index 014cd52c8..b35d3b84d 100644
--- a/Changes
+++ b/Changes
@@ -4,6 +4,7 @@ Provided by Anope Dev. <dev@anope.org> - 2004
07/17 A Switched to autoconf for configure script. [ #00]
07/05 A Warning when LocalAddress conflicts with RemoteServer. [#118]
06/18 A Added proper Bahamut1.8 support. [ #55]
+07/22 F Free NSNickTracking when a user quits. [#126]
07/22 F NOOP bug with wildcards. [#115]
07/22 F Removed RESTRICTED from incorrectly labeled lang file entry. [#111]
07/15 F Fixed the bug where /ns release didn't work with UseSVSHOLD. [#125]
diff --git a/src/nickserv.c b/src/nickserv.c
index ec10e4fe0..465f14fa5 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -1518,7 +1518,7 @@ static int delcore(NickCore * nc)
free(nc->greet);
if (nc->url)
free(nc->url);
-
+
if (nc->access) {
for (i = 0; i < nc->accesscount; i++) {
if (nc->access[i])
diff --git a/src/users.c b/src/users.c
index abf4b4b29..6c6d59c02 100644
--- a/src/users.c
+++ b/src/users.c
@@ -98,6 +98,7 @@ static User *new_user(const char *nick)
alog("user: New maximum user count: %d", maxusercnt);
}
user->isSuperAdmin = 0; /* always set SuperAdmin to 0 for new users */
+ user->nickTrack = NULL; /* ensure no default tracking nick */
return user;
}
@@ -424,6 +425,9 @@ void delete_user(User * user)
ci = ci2;
}
+ if (user->nickTrack)
+ free(user->nickTrack);
+
moduleCleanStruct(user->moduleData);
if (debug >= 2)
diff --git a/version.log b/version.log
index 73db10287..729ee8d72 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,15 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="4"
-VERSION_BUILD="273"
+VERSION_BUILD="275"
# $Log$
#
+# BUILD : 1.7.4 (275)
+# BUGS : 126
+# NOTES : Fixed the 3rd mem leak identified in this bug report, i didnt find the first two however :/
+#
+#
# BUILD : 1.7.4 (273)
# BUGS : 121
# NOTES : Applied patch provided by Trystan for +A +H support on viagra