mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed a crash when closing down with remote control plugins
This commit is contained in:
5
remote.c
5
remote.c
@@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: remote.c 1.28 2002/09/29 12:51:26 kls Exp $
|
||||
* $Id: remote.c 1.29 2002/10/12 15:22:08 kls Exp $
|
||||
*/
|
||||
|
||||
#include "remote.h"
|
||||
@@ -34,8 +34,7 @@ cCondVar cRemote::keyPressed;
|
||||
|
||||
cRemote::cRemote(const char *Name)
|
||||
{
|
||||
if (Name)
|
||||
name = strdup(Name);
|
||||
name = Name ? strdup(Name) : NULL;
|
||||
Remotes.Add(this);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user