From 56f49073092ef1726d949e35454382bd4d38abb9 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 26 Dec 2005 14:48:46 +0100 Subject: [PATCH] Removed an invalid access to Event->schedule in cSchedule::DelEvent() --- HISTORY | 1 + epg.c | 3 +-- 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 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; } }