diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-12-24 15:32:40 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-12-24 15:32:40 +0100 |
commit | c60c8b9e4f5b603157e5ac2acdbd2ad63f453b18 (patch) | |
tree | 99094cf6c0d11ff2aeb90e5058c0cd2b6ce3ca41 | |
parent | 9cc9553c63e9bfbdf71ccadd191565bd43f2fb7c (diff) | |
download | vdr-c60c8b9e4f5b603157e5ac2acdbd2ad63f453b18.tar.gz vdr-c60c8b9e4f5b603157e5ac2acdbd2ad63f453b18.tar.bz2 |
Removing a cRemote from the Remotes list in case its initialization failed
-rw-r--r-- | CONTRIBUTORS | 3 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | remote.c | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 13a4e3d3..0b71284b 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2639,3 +2639,6 @@ Antti Seppälä <a.seppala@gmail.com> Henning Heinold <heinold@inf.fu-berlin.de> for fixing inclusion of <stdarg.h> + +Dominik Strasser <dominik@die-strassers.de> + for making a cRemote be removed from the Remotes list in case its initialization failed @@ -6511,3 +6511,5 @@ Video Disk Recorder Revision History variables where additional 'k_...' flags are used. - Fixed inclusion of <stdarg.h> (thanks to Henning Heinold). - Changed "frame duration" to "frame rate" in vdr.5 (reported by Tobias Grimm). +- Removing a cRemote from the Remotes list in case its initialization failed (thanks + to Dominik Strasser). @@ -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); } |