mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a memory leak in handling the NIT
This commit is contained in:
parent
33b47142e4
commit
f275346ecc
@ -3667,6 +3667,7 @@ Helmut Binder <cco@aon.at>
|
||||
for fixing flushing old data from the section handler
|
||||
for removing unused declaration of cDvbTuner::SetFrontendType()
|
||||
for fixing handling incomplete multi-packet CAT
|
||||
for fixing a memory leak in handling the NIT
|
||||
|
||||
Ulrich Eckhardt <uli@uli-eckhardt.de>
|
||||
for reporting a problem with shutdown after user inactivity in case a plugin is
|
||||
|
3
HISTORY
3
HISTORY
@ -9737,7 +9737,7 @@ Video Disk Recorder Revision History
|
||||
- The Recordings menu now marks recordings with errors with an exclamation mark ('!'),
|
||||
and the number of errors (if any) is displayed in the recording's Info menu.
|
||||
|
||||
2021-12-11:
|
||||
2021-12-14:
|
||||
|
||||
- Replaced all umlauts in the example channels.conf with their ae, oe, ue substitutes
|
||||
to avoid problems on UTF-8 systems.
|
||||
@ -9745,3 +9745,4 @@ Video Disk Recorder Revision History
|
||||
Haubrich).
|
||||
- Fixed unlocking vs. call to EpgHandlers.EndSegmentTransfer() (reported by Christoph
|
||||
Haubrich).
|
||||
- Fixed a memory leak in handling the NIT (thanks to Helmut Binder).
|
||||
|
4
nit.c
4
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 5.1 2021/03/16 15:10:54 kls Exp $
|
||||
* $Id: nit.c 5.2 2021/12/14 21:15:02 kls Exp $
|
||||
*/
|
||||
|
||||
#include "nit.h"
|
||||
@ -100,8 +100,10 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
|
||||
for (SI::Loop::Iterator it2; (d = ts.transportStreamDescriptors.getNext(it2)); ) {
|
||||
if (d->getDescriptorTag() == SI::S2SatelliteDeliverySystemDescriptorTag) {
|
||||
ForceDVBS2 = true;
|
||||
delete d;
|
||||
break;
|
||||
}
|
||||
delete d;
|
||||
}
|
||||
|
||||
for (SI::Loop::Iterator it2; (d = ts.transportStreamDescriptors.getNext(it2)); ) {
|
||||
|
Loading…
Reference in New Issue
Block a user