mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed a possible crash in cDevice::StopSectionHandler()
This commit is contained in:
parent
f0da21ea13
commit
e5ae02e3fa
@ -2556,6 +2556,7 @@ Markus Ehrnsperger <markus.ehrnsperger@googlemail.com>
|
|||||||
transfer mode receiver device
|
transfer mode receiver device
|
||||||
for reporting broken video data streams on systems without output device when switching
|
for reporting broken video data streams on systems without output device when switching
|
||||||
live channel to a different transponder while recording
|
live channel to a different transponder while recording
|
||||||
|
for fixing a possible crash in cDevice::StopSectionHandler()
|
||||||
|
|
||||||
Werner Färber <w.faerber@gmx.de>
|
Werner Färber <w.faerber@gmx.de>
|
||||||
for reporting a bug in handling the cPluginManager::Active() result when pressing
|
for reporting a bug in handling the cPluginManager::Active() result when pressing
|
||||||
|
4
HISTORY
4
HISTORY
@ -9863,7 +9863,9 @@ Video Disk Recorder Revision History
|
|||||||
- The recording info of the default skins now shows the frame parameters of the
|
- The recording info of the default skins now shows the frame parameters of the
|
||||||
recording at the end of the description (if such information is available).
|
recording at the end of the description (if such information is available).
|
||||||
|
|
||||||
2024-01-17:
|
2024-01-18:
|
||||||
|
|
||||||
- Changed installing config files to handle potentially broken 'cp -n'.
|
- Changed installing config files to handle potentially broken 'cp -n'.
|
||||||
- Fixed height calculation in progress display (thanks to Matthias Senzel).
|
- Fixed height calculation in progress display (thanks to Matthias Senzel).
|
||||||
|
- Fixed a possible crash in cDevice::StopSectionHandler() (thanks to Markus
|
||||||
|
Ehrnsperger).
|
||||||
|
4
device.c
4
device.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: device.c 5.8 2023/02/21 09:31:47 kls Exp $
|
* $Id: device.c 5.9 2024/01/18 10:58:39 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "device.h"
|
#include "device.h"
|
||||||
@ -673,11 +673,11 @@ void cDevice::StartSectionHandler(void)
|
|||||||
void cDevice::StopSectionHandler(void)
|
void cDevice::StopSectionHandler(void)
|
||||||
{
|
{
|
||||||
if (sectionHandler) {
|
if (sectionHandler) {
|
||||||
|
delete sectionHandler; // automatically detaches filters
|
||||||
delete nitFilter;
|
delete nitFilter;
|
||||||
delete sdtFilter;
|
delete sdtFilter;
|
||||||
delete patFilter;
|
delete patFilter;
|
||||||
delete eitFilter;
|
delete eitFilter;
|
||||||
delete sectionHandler;
|
|
||||||
nitFilter = NULL;
|
nitFilter = NULL;
|
||||||
sdtFilter = NULL;
|
sdtFilter = NULL;
|
||||||
patFilter = NULL;
|
patFilter = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user