diff --git a/HISTORY b/HISTORY index 1eefa478..bb52b4dd 100644 --- a/HISTORY +++ b/HISTORY @@ -3995,3 +3995,4 @@ Video Disk Recorder Revision History (thanks to Kendy Kutzner). - EPG events that are no longer in the currently broadcasted data stream are now automatically deleted. +- Removed an invalid access to Event->schedule in cSchedule::DelEvent(). diff --git a/epg.c b/epg.c index b9d9063c..7fe44905 100644 --- a/epg.c +++ b/epg.c @@ -7,7 +7,7 @@ * Original version (as used in VDR before 1.3.0) written by * Robert Schneider and Rolf Hakenes . * - * $Id: epg.c 1.42 2005/12/26 14:44:03 kls Exp $ + * $Id: epg.c 1.43 2005/12/26 14:47:55 kls Exp $ */ #include "epg.h" @@ -637,7 +637,6 @@ void cSchedule::DelEvent(cEvent *Event) if (Event->schedule == this) { UnhashEvent(Event); events.Del(Event); - Event->schedule = NULL; } }