mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
-epgplus: fix possible segfault (thx dbo)
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1383,6 +1383,8 @@ void EpgPlus::hide()
|
|||||||
if (this->header->head)
|
if (this->header->head)
|
||||||
{
|
{
|
||||||
this->header->head->kill();
|
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);
|
this->frameBuffer->paintBackgroundBoxRel(this->usableScreenX - DETAILSLINE_WIDTH, this->usableScreenY, DETAILSLINE_WIDTH + this->usableScreenWidth, this->usableScreenHeight);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user