diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-11-26 15:02:54 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-11-26 15:02:54 +0100 |
commit | a9d82331e63353e92a3673670de9007a9c93dc39 (patch) | |
tree | 6073abd6bf604cf26d688c370c18ef02b7da4626 /dvbplayer.c | |
parent | 8dcff164fa3374fa88263d6b11b33fa48d30dade (diff) | |
download | vdr-a9d82331e63353e92a3673670de9007a9c93dc39.tar.gz vdr-a9d82331e63353e92a3673670de9007a9c93dc39.tar.bz2 |
Fixed a possible crash with plugins that retrieve player information after a replay has been stopped, but before the replay control has been destroyed
Diffstat (limited to 'dvbplayer.c')
-rw-r--r-- | dvbplayer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dvbplayer.c b/dvbplayer.c index ca007353..d1c02f9f 100644 --- a/dvbplayer.c +++ b/dvbplayer.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbplayer.c 4.4 2016/12/22 11:34:31 kls Exp $ + * $Id: dvbplayer.c 4.5 2017/11/26 14:55:03 kls Exp $ */ #include "dvbplayer.h" @@ -1003,6 +1003,7 @@ bool cDvbPlayerControl::Active(void) void cDvbPlayerControl::Stop(void) { + cControl::player = NULL; delete player; player = NULL; } |