summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}