summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-12-26 14:48:46 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-12-26 14:48:46 +0100
commit56f49073092ef1726d949e35454382bd4d38abb9 (patch)
tree7035253cb2282ea791ff0cdb646786eb2a920a06
parentad552300510a2b5c989d5eda181d58c11d355ee2 (diff)
downloadvdr-56f49073092ef1726d949e35454382bd4d38abb9.tar.gz
vdr-56f49073092ef1726d949e35454382bd4d38abb9.tar.bz2
Removed an invalid access to Event->schedule in cSchedule::DelEvent()
-rw-r--r--HISTORY1
-rw-r--r--epg.c3
2 files changed, 2 insertions, 2 deletions
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 <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
*
- * $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;
}
}