summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-05-01 10:53:53 +0200
committerlouis <louis.braun@gmx.de>2015-05-01 10:53:53 +0200
commit32c369952ea8559b4b721d8c71c0eb5ecfbbec2c (patch)
tree5c0dd16f5eefa06e86d20b73e833a515f64c5ebf
parentc1dca35dbaa3ff202768fe3fa56d40c1395839b6 (diff)
downloadvdr-plugin-tvguideng-32c369952ea8559b4b721d8c71c0eb5ecfbbec2c.tar.gz
vdr-plugin-tvguideng-32c369952ea8559b4b721d8c71c0eb5ecfbbec2c.tar.bz2
fixed crash when closing tvguide with active blinking icon
-rw-r--r--HISTORY1
-rw-r--r--epggrid.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index 5ee1e7d..c9fca8e 100644
--- a/HISTORY
+++ b/HISTORY
@@ -33,3 +33,4 @@ Version 0.1.1
Version 0.1.2
+- fixed crash when closing tvguide with active blinking icon
diff --git a/epggrid.c b/epggrid.c
index 72f4ef8..561d3cb 100644
--- a/epggrid.c
+++ b/epggrid.c
@@ -38,6 +38,9 @@ cEpgGrid::~cEpgGrid(void) {
delete back;
delete header;
delete footer;
+ for (cChannelEpg *channelEpg = channels.First(); channelEpg; channelEpg = channels.Next(channelEpg)) {
+ channelEpg->DeleteGridViews(epgGrid);
+ }
channels.Clear();
delete channelsGrid;
delete channelGroups;