From ad8db21c153ebb799a0c40725a1b2c7754b338f0 Mon Sep 17 00:00:00 2001 From: "trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Tue, 28 Dec 2004 00:51:54 +0000 Subject: BUILD : 1.7.6 (507) BUGS : N/A NOTES : Fixed not freeing memory when a channel got deleted. git-svn-id: svn://svn.anope.org/anope/trunk@507 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@361 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 1 + src/chanserv.c | 7 +++++++ version.log | 6 +++++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index c9f0c7e6a..f25b68161 100644 --- a/Changes +++ b/Changes @@ -15,6 +15,7 @@ Provided by Anope Dev. - 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 -- cgit