From f9c4baf8fc5b61f9dfce5d78d9d86c70ecd6beb8 Mon Sep 17 00:00:00 2001 From: Adam- Date: Mon, 17 May 2010 18:12:26 +0000 Subject: Free access and badwords list when channels are deleted git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2964 5417fbe8-f217-4b02-8779-1006273d7864 --- src/regchannel.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/regchannel.cpp b/src/regchannel.cpp index d53f496a2..9d2e6b7a6 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -106,7 +106,9 @@ ChannelInfo::~ChannelInfo() delete [] this->forbidby; if (this->forbidreason) delete [] this->forbidreason; + this->ClearAccess(); this->ClearAkick(); + this->ClearBadWords(); if (this->levels) delete [] this->levels; -- cgit