diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-05-22 15:47:06 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-05-22 15:47:06 +0200 |
commit | ea04f80d95f280b47c1e96a99dbffb798e100967 (patch) | |
tree | f9e2b59c9a1eb988c2b0c31ccc746066f329ce0c | |
parent | 927a54403de609537ef23c3ac8f5c646591b6471 (diff) | |
download | vdr-ea04f80d95f280b47c1e96a99dbffb798e100967.tar.gz vdr-ea04f80d95f280b47c1e96a99dbffb798e100967.tar.bz2 |
Fixed a memory leak in NIT processing
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | nit.c | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 3554620f..ec62329f 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -671,6 +671,7 @@ Marcel Wiesweg <marcel.wiesweg@gmx.de> for adding 'libsi' include files to the 'include' directory, so that plugins can use them for his help in fixing some issues with gcc 3.4 + for fixing a memory leak in NIT processing Torsten Herz <torsten.herz@web.de> for fixing a possible deadlock when using the "Blue" button in the "Schedules" menu @@ -2825,3 +2825,4 @@ Video Disk Recorder Revision History this one and helping to test the fix). - Fixed freezing picture when a recording starts on a system that always uses 'Transfer Mode' (thanks to Michal Dobrzynski for reporting this one). +- Fixed a memory leak in NIT processing (thanks to Marcel Wiesweg). @@ -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; |