gui/channellist.cpp: bug fix, default copy constructor is danger, if class have pointers

Origin commit data
------------------
Branch: ni/coolstream
Commit: 36b14e31ef
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-11-26 (Wed, 26 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-11-26 10:45:29 +03:00
parent 9db3dc37d4
commit e5a6d55619
3 changed files with 3 additions and 5 deletions

View File

@@ -119,7 +119,6 @@ CChannelList::CChannelList(const char * const pName, bool phistoryMode, bool _vl
CChannelList::~CChannelList()
{
chanlist->clear();
if(dline){
delete dline;
dline = NULL;