diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-11-20 11:34:04 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-11-20 11:34:04 +0100 |
commit | c07a3a371ed4be7acece41ad06a81bf6814585f8 (patch) | |
tree | 02e72ebdf4c7973d131abe101af6dd41314dc044 /player.c | |
parent | 6533efdf676ccdc2ba1bfe0b2dafd12775957a84 (diff) | |
download | vdr-c07a3a371ed4be7acece41ad06a81bf6814585f8.tar.gz vdr-c07a3a371ed4be7acece41ad06a81bf6814585f8.tar.bz2 |
Fixed a possible recursion in cControl::Shutdown()
Diffstat (limited to 'player.c')
-rw-r--r-- | player.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * 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" @@ -88,6 +88,7 @@ void cControl::Attach(void) void cControl::Shutdown(void) { - delete control; + cControl *c = control; // avoids recursions control = NULL; + delete c; } |