summaryrefslogtreecommitdiff
path: root/eepg.c
diff options
context:
space:
mode:
Diffstat (limited to 'eepg.c')
-rw-r--r--eepg.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/eepg.c b/eepg.c
index 3fce100..1361b72 100644
--- a/eepg.c
+++ b/eepg.c
@@ -1368,6 +1368,15 @@ void cFilterEEPG::WriteToSchedule (tChannelID channelID, cSchedules* pSchedules,
}
if (ps && newEvent)
ps->AddEvent (newEvent);
+
+ EquivHandler->updateEquivalent(pSchedules, channelID, Event);
+
+ if (!ps) {
+ //the event is not send to VDR so it has to be deleted.
+ delete Event;
+ Event = NULL;
+ }
+
//newEvent->FixEpgBugs (); causes segfault
}
/* else