summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes3
-rw-r--r--src/core/cs_list.c1
-rw-r--r--version.log6
3 files changed, 8 insertions, 2 deletions
diff --git a/Changes b/Changes
index ebb373f3c..43b03fcd5 100644
--- a/Changes
+++ b/Changes
@@ -12,7 +12,8 @@ Anope Version S V N
01/26 F Memory leaks in OperServ CLEARMODES. [#836]
01/26 F Check for LogChannel when running with -logchan option. [#837]
01/26 F Enough LogChannel checks for bs_say and bs_act with LogBot on. [#838]
-01/26 F Memory leak and old code in ChanServ CLEAr. [#839]
+01/26 F Memory leak and old code in ChanServ CLEAR. [#839]
+01/26 F Memory leak in ChanServ LIST. [#840]
Provided by Jan Milants <jan_renee@msn.com> - 2008
01/16 F Server traversion with next_server() failed to list all servers. [#831]
diff --git a/src/core/cs_list.c b/src/core/cs_list.c
index c52f4601d..0dcda53dc 100644
--- a/src/core/cs_list.c
+++ b/src/core/cs_list.c
@@ -190,6 +190,7 @@ int do_list(User * u)
}
notice_lang(s_ChanServ, u, CHAN_LIST_END,
nchans > CSListMax ? CSListMax : nchans, nchans);
+ free(spattern);
}
if (tofree)
free(pattern);
diff --git a/version.log b/version.log
index 72d62f815..4b536410f 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="21"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1360"
+VERSION_BUILD="1361"
# $Log$
#
+# BUILD : 1.7.21 (1361)
+# BUGS : 840
+# NOTES : Fixed a memory leak in cs_list
+#
# BUILD : 1.7.21 (1360)
# BUGS : 839
# NOTES : Removed old code from cs_clear and fixed a memory leak in there as well