From f0df6b849e5d5ce62b1c6be675ee94d8d6eeb7a9 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Mon, 29 May 2017 22:36:07 +0200 Subject: [PATCH] epgplus: fix segfault (thx dbo) Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/a56e3f81114504a53de2fd80702da82607635e98 Author: TangoCash Date: 2017-05-29 (Mon, 29 May 2017) Origin message was: ------------------ -epgplus: fix segfault (thx dbo) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/epgplus.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/epgplus.cpp b/src/gui/epgplus.cpp index 3bfe6f4fd..dafdbb1fb 100644 --- a/src/gui/epgplus.cpp +++ b/src/gui/epgplus.cpp @@ -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); }