diff --git a/src/gui/epgplus.cpp b/src/gui/epgplus.cpp index 7b6774b33..76a9394c9 100644 --- a/src/gui/epgplus.cpp +++ b/src/gui/epgplus.cpp @@ -365,6 +365,7 @@ EpgPlus::ChannelEntry::~ChannelEntry() if (this->detailsLine) { + this->detailsLine->kill(); delete this->detailsLine; this->detailsLine = NULL; } @@ -425,6 +426,14 @@ void EpgPlus::ChannelEntry::paint(bool isSelected, time_t _selectedTime) toggleColor = !toggleColor; } + // kill detailsline + if (detailsLine) + { + detailsLine->kill(); + delete detailsLine; + detailsLine = NULL; + } + // paint detailsline if (isSelected) {