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

Fixed a possible recursion in cControl::Shutdown()

This commit is contained in:
Klaus Schmidinger 2004-11-20 11:34:04 +01:00
parent 6533efdf67
commit c07a3a371e
3 changed files with 5 additions and 2 deletions

View File

@ -735,6 +735,7 @@ Sascha Volkenandt <sascha@akv-soft.de>
for pointing out a "near miss" condition in cCondVar for pointing out a "near miss" condition in cCondVar
for reporting a bug in cChannel::SetName() in case only the ShortName or Provider for reporting a bug in cChannel::SetName() in case only the ShortName or Provider
has changed has changed
for fixing a possible recursion in cControl::Shutdown()
Malcolm Caldwell <malcolm.caldwell@ntu.edu.au> Malcolm Caldwell <malcolm.caldwell@ntu.edu.au>
for modifying LOF handling to allow for C-band reception for modifying LOF handling to allow for C-band reception

View File

@ -3154,3 +3154,4 @@ Video Disk Recorder Revision History
Brugger for reporting this one). Brugger for reporting this one).
- Fixed some characters in the iso8859-2 font file (thanks to Dino Ravnic). - Fixed some characters in the iso8859-2 font file (thanks to Dino Ravnic).
- Fixed some errors in the Croatian language texts (thanks to Dino Ravnic). - Fixed some errors in the Croatian language texts (thanks to Dino Ravnic).
- Fixed a possible recursion in cControl::Shutdown() (thanks to Sascha Volkenandt).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: player.c 1.7 2004/04/16 13:34:11 kls Exp $ * $Id: player.c 1.8 2004/11/20 11:33:08 kls Exp $
*/ */
#include "player.h" #include "player.h"
@ -88,6 +88,7 @@ void cControl::Attach(void)
void cControl::Shutdown(void) void cControl::Shutdown(void)
{ {
delete control; cControl *c = control; // avoids recursions
control = NULL; control = NULL;
delete c;
} }