summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrystan 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
committertrystan 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
commitad8db21c153ebb799a0c40725a1b2c7754b338f0 (patch)
treea7dc7fd23731ef4a5a6357e9cce3dc801cd630a7 /src
parent003f69051936795d441f7b3c86f86b778ff4e9cd (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
Diffstat (limited to 'src')
-rw-r--r--src/chanserv.c7
1 files changed, 7 insertions, 0 deletions
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) {