mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
epgplus: fix possible segfault (thx dbo)
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
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 is contained in:
committed by
Michael Liebmann
parent
ba3313b04f
commit
ff97eee187
@@ -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