From 8585e08a0f07bb0f9bcd49a775ff9836dbcf863b Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 5 Oct 2001 20:40:53 +0200 Subject: [PATCH] Fixed the 'EPG bugfix' (sometimes had duplicate information in Subtitle and Extended Description) --- HISTORY | 4 +++- tools.c | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 85fa133c..aaae04f9 100644 --- a/HISTORY +++ b/HISTORY @@ -787,7 +787,7 @@ Video Disk Recorder Revision History - Made the volume, mute and power keys work when a menu is active, too (thanks to Matthias Weingart). -2001-10-03: Version 0.97 +2001-10-05: Version 0.97 - Implemented a lock file to prevent more than one instance of VDR from removing files from the video directory at the same time. @@ -802,3 +802,5 @@ Video Disk Recorder Revision History Bauschulte). Note that if you are using the default 'channels.conf' or 'channels.conf.cable' files you may need to check any exiting timers to see whether they still use the correct channel number. +- Fixed the "EPG bugfix" (sometimes had duplicate information in Subtitle and + Extended Description). diff --git a/tools.c b/tools.c index 57188022..5129e94a 100644 --- a/tools.c +++ b/tools.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.c 1.47 2001/09/30 10:36:40 kls Exp $ + * $Id: tools.c 1.48 2001/10/05 16:40:09 kls Exp $ */ #define _GNU_SOURCE @@ -74,6 +74,10 @@ char *strcpyrealloc(char *dest, const char *src) else esyslog(LOG_ERR, "ERROR: out of memory"); } + else { + delete dest; + dest = NULL; + } return dest; }