mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed a memory leak in handling the NIT
This commit is contained in:
parent
2e1b2107e7
commit
26412e8888
@ -3649,6 +3649,7 @@ Helmut Binder <cco@aon.at>
|
|||||||
PMT pid were checked any more
|
PMT pid were checked any more
|
||||||
for reporting a problem with PMT handling in case locking the Channels list times out
|
for reporting a problem with PMT handling in case locking the Channels list times out
|
||||||
for avoiding a lengthy lock on the Channels list when starting a recording
|
for avoiding a lengthy lock on the Channels list when starting a recording
|
||||||
|
for fixing a memory leak in handling the NIT
|
||||||
|
|
||||||
Ulrich Eckhardt <uli@uli-eckhardt.de>
|
Ulrich Eckhardt <uli@uli-eckhardt.de>
|
||||||
for reporting a problem with shutdown after user inactivity in case a plugin is
|
for reporting a problem with shutdown after user inactivity in case a plugin is
|
||||||
|
1
HISTORY
1
HISTORY
@ -9581,3 +9581,4 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed cTsPayload::AtPayloadStart() to ignore TS packets from other PIDs.
|
- Fixed cTsPayload::AtPayloadStart() to ignore TS packets from other PIDs.
|
||||||
- Fixed unlocking vs. call to EpgHandlers.EndSegmentTransfer() (reported by Christoph
|
- Fixed unlocking vs. call to EpgHandlers.EndSegmentTransfer() (reported by Christoph
|
||||||
Haubrich).
|
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
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: nit.c 4.9 2019/05/31 13:25:00 kls Exp $
|
* $Id: nit.c 4.9.1.1 2021/12/27 11:09:16 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "nit.h"
|
#include "nit.h"
|
||||||
@ -102,8 +102,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)); ) {
|
for (SI::Loop::Iterator it2; (d = ts.transportStreamDescriptors.getNext(it2)); ) {
|
||||||
if (d->getDescriptorTag() == SI::S2SatelliteDeliverySystemDescriptorTag) {
|
if (d->getDescriptorTag() == SI::S2SatelliteDeliverySystemDescriptorTag) {
|
||||||
ForceDVBS2 = true;
|
ForceDVBS2 = true;
|
||||||
|
delete d;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
delete d;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (SI::Loop::Iterator it2; (d = ts.transportStreamDescriptors.getNext(it2)); ) {
|
for (SI::Loop::Iterator it2; (d = ts.transportStreamDescriptors.getNext(it2)); ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user