diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-12-28 00:51:54 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-12-28 00:51:54 +0000 |
commit | ad8db21c153ebb799a0c40725a1b2c7754b338f0 (patch) | |
tree | a7dc7fd23731ef4a5a6357e9cce3dc801cd630a7 | |
parent | 003f69051936795d441f7b3c86f86b778ff4e9cd (diff) |
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
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/chanserv.c | 7 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 13 insertions, 1 deletions
@@ -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 |