-epgplus: fix possible segfault (thx dbo)

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
TangoCash
2017-06-07 14:17:12 +02:00
committed by M. Liebmann
parent 37e2efb3ed
commit 866f5c37b8

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);
}