mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Removed an invalid access to Event->schedule in cSchedule::DelEvent()
This commit is contained in:
		
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								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(). | ||||
|   | ||||
							
								
								
									
										3
									
								
								epg.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								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; | ||||
|      } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user