epgplus: fix possible segfault (thx dbo)

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 866f5c37b8
Author: TangoCash <eric@loxat.de>
Date: 2017-06-07 (Wed, 07 Jun 2017)

Origin message was:
------------------
-epgplus: fix possible segfault (thx dbo)

Signed-off-by: Thilo Graf <dbt@novatux.de>


------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-06-07 14:17:12 +02:00
committed by Michael Liebmann
parent 3aad7a46d7
commit f3e4e99553

View File

@@ -1383,6 +1383,8 @@ void EpgPlus::hide()
if (this->header->head)
{
this->header->head->kill();
delete this->header->head;
this->header->head = NULL;
}
this->frameBuffer->paintBackgroundBoxRel(this->usableScreenX - DETAILSLINE_WIDTH, this->usableScreenY, DETAILSLINE_WIDTH + this->usableScreenWidth, this->usableScreenHeight);
}