1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Removed an invalid access to Event->schedule in cSchedule::DelEvent()

This commit is contained in:
Klaus Schmidinger 2005-12-26 14:48:46 +01:00
parent ad55230051
commit 56f4907309
2 changed files with 2 additions and 2 deletions

View File

@ -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().

3
epg.c
View File

@ -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;
}
}