mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
CChannelList: add missing compare for existant header object.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 86c18141dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-06 (Sat, 06 May 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2158,13 +2158,17 @@ void CChannelList::paintHead()
|
|||||||
|
|
||||||
CComponentsHeader* CChannelList::getHeaderObject()
|
CComponentsHeader* CChannelList::getHeaderObject()
|
||||||
{
|
{
|
||||||
return header;
|
if (header)
|
||||||
|
return header;
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CChannelList::ResetModules()
|
void CChannelList::ResetModules()
|
||||||
{
|
{
|
||||||
delete header;
|
if (header){
|
||||||
header = NULL;
|
delete header;
|
||||||
|
header = NULL;
|
||||||
|
}
|
||||||
if(dline){
|
if(dline){
|
||||||
delete dline;
|
delete dline;
|
||||||
dline = NULL;
|
dline = NULL;
|
||||||
|
Reference in New Issue
Block a user