summaryrefslogtreecommitdiff
path: root/tools.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-10-05 20:40:53 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-10-05 20:40:53 +0200
commit8585e08a0f07bb0f9bcd49a775ff9836dbcf863b (patch)
tree501b8d327eb699a98237987994533d54e6ef0e47 /tools.c
parent6d385e915473f4f6c02b326a78ef5d68d0417348 (diff)
downloadvdr-8585e08a0f07bb0f9bcd49a775ff9836dbcf863b.tar.gz
vdr-8585e08a0f07bb0f9bcd49a775ff9836dbcf863b.tar.bz2
Fixed the 'EPG bugfix' (sometimes had duplicate information in Subtitle and Extended Description)
Diffstat (limited to 'tools.c')
-rw-r--r--tools.c6
1 files changed, 5 insertions, 1 deletions
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;
}