summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/chanserv.c7
-rw-r--r--version.log6
3 files changed, 13 insertions, 1 deletions
diff --git a/Changes b/Changes
index c9f0c7e6a..f25b68161 100644
--- a/Changes
+++ b/Changes
@@ -15,6 +15,7 @@ Provided by Anope Dev. <dev@anope.org> - 2004
11/19 A Added anope_cmd_ctcp() to code API, for sending CTCP messages. [ #00]
11/18 A Unable to use registered nicknames as bot nicks from now on. [ #00]
11/18 A NSAddAccessOnReg to control access list on registration. [ #00]
+12/27 F Not freeing memory when a channel got deleted. [ #00]
12/27 F Segfaults with enforcing KillonSGline/KillonSQline. [#260]
12/26 F Updated IRCD doc to show all the flags currently in the code. [ #00]
12/26 F Fixed segfault with some config options if they are set wrong. [ #00]
diff --git a/src/chanserv.c b/src/chanserv.c
index 831793927..f543b2656 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -2132,6 +2132,13 @@ int delchan(ChannelInfo * ci)
chanlists[(unsigned char) tolower(ci->name[1])] = ci->next;
if (ci->desc)
free(ci->desc);
+ if (ci->url)
+ free(ci->url);
+ if (ci->email)
+ free(ci->email);
+ if (ci->entry_message)
+ free(ci->entry_message);
+
if (ci->mlock_key)
free(ci->mlock_key);
if (ircd->fmode) {
diff --git a/version.log b/version.log
index cc2efe531..6b1568af0 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="6"
-VERSION_BUILD="506"
+VERSION_BUILD="507"
# $Log$
#
+# BUILD : 1.7.6 (507)
+# BUGS : N/A
+# NOTES : Fixed not freeing memory when a channel got deleted.
+#
# BUILD : 1.7.6 (506)
# BUGS : 260
# NOTES : Fixed segfaults in the user-list walking with KillonSGline/KillonSQline