diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-05-02 15:09:59 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-05-02 15:09:59 +0200 |
commit | 88dc4e335137f13cc4a3cd82c6d15a38c494e969 (patch) | |
tree | fa879a927d6c3c72f32e99a89aba57fd4b67a262 /channels.c | |
parent | c19c63530e9eba17e39c14c987ee30793eb999dd (diff) | |
download | vdr-88dc4e335137f13cc4a3cd82c6d15a38c494e969.tar.gz vdr-88dc4e335137f13cc4a3cd82c6d15a38c494e969.tar.bz2 |
Fixed a crash when creating a new channel if the channel list is empty
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: channels.c 2.13 2010/02/21 13:36:04 kls Exp $ + * $Id: channels.c 2.14 2010/05/02 15:07:38 kls Exp $ */ #include "channels.h" @@ -61,6 +61,7 @@ cChannel::cChannel(void) provider = strdup(""); portalName = strdup(""); memset(&__BeginData__, 0, (char *)&__EndData__ - (char *)&__BeginData__); + parameters = ""; modification = CHANNELMOD_NONE; schedule = NULL; linkChannels = NULL; |