summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-12-24 15:32:40 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-12-24 15:32:40 +0100
commitc60c8b9e4f5b603157e5ac2acdbd2ad63f453b18 (patch)
tree99094cf6c0d11ff2aeb90e5058c0cd2b6ce3ca41 /remote.c
parent9cc9553c63e9bfbdf71ccadd191565bd43f2fb7c (diff)
downloadvdr-c60c8b9e4f5b603157e5ac2acdbd2ad63f453b18.tar.gz
vdr-c60c8b9e4f5b603157e5ac2acdbd2ad63f453b18.tar.bz2
Removing a cRemote from the Remotes list in case its initialization failed
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/remote.c b/remote.c
index 82d5f007..048b98c3 100644
--- a/remote.c
+++ b/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 2.1 2009/12/06 12:08:03 kls Exp $
+ * $Id: remote.c 2.2 2010/12/24 15:26:05 kls Exp $
*/
#include "remote.h"
@@ -42,6 +42,7 @@ cRemote::cRemote(const char *Name)
cRemote::~cRemote()
{
+ Remotes.Del(this, false);
free(name);
}