summaryrefslogtreecommitdiff
path: root/nit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-05-22 15:47:06 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-05-22 15:47:06 +0200
commitea04f80d95f280b47c1e96a99dbffb798e100967 (patch)
treef9e2b59c9a1eb988c2b0c31ccc746066f329ce0c /nit.c
parent927a54403de609537ef23c3ac8f5c646591b6471 (diff)
downloadvdr-ea04f80d95f280b47c1e96a99dbffb798e100967.tar.gz
vdr-ea04f80d95f280b47c1e96a99dbffb798e100967.tar.bz2
Fixed a memory leak in NIT processing
Diffstat (limited to 'nit.c')
-rw-r--r--nit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nit.c b/nit.c
index 92c02f1f..cf3b674f 100644
--- a/nit.c
+++ b/nit.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: nit.c 1.6 2004/02/13 14:41:36 kls Exp $
+ * $Id: nit.c 1.7 2004/05/22 15:46:21 kls Exp $
*/
#include "nit.h"
@@ -76,6 +76,7 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
break;
default: ;
}
+ delete d;
}
nits[numNits].networkId = nit.getNetworkId();
nits[numNits].hasTransponder = false;