1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed a memory leak in NIT processing

This commit is contained in:
Klaus Schmidinger 2004-05-22 15:47:06 +02:00
parent 927a54403d
commit ea04f80d95
3 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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).

3
nit.c
View File

@ -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;