1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Removing a cRemote from the Remotes list in case its initialization failed

This commit is contained in:
Klaus Schmidinger 2010-12-24 15:32:40 +01:00
parent 9cc9553c63
commit c60c8b9e4f
3 changed files with 7 additions and 1 deletions

View File

@ -2639,3 +2639,6 @@ Antti Sepp
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

View File

@ -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).

View File

@ -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);
}