diff --git a/src/regchannel.cpp b/src/regchannel.cpp index ba7fad650..356ceb093 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -157,7 +157,7 @@ ChannelInfo::~ChannelInfo() if (this->c) { if (this->c && this->c->CheckDelete()) - delete this->c; + this->c->QueueForDeletion(); this->c = NULL; }