mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-12 16:03:36 +02:00
neutrino.cpp: try to avoid possible memleak
Watched with LeakSanitizer on generic pc.
Origin commit data
------------------
Commit: b738597178
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-05-06 (Thu, 06 May 2021)
This commit is contained in:
@@ -3112,9 +3112,11 @@ TIMER_START();
|
|||||||
SHTDCNT::getInstance()->init();
|
SHTDCNT::getInstance()->init();
|
||||||
|
|
||||||
#ifdef ENABLE_LCD4LINUX
|
#ifdef ENABLE_LCD4LINUX
|
||||||
|
if (g_settings.lcd4l_support) {
|
||||||
|
if (LCD4l == NULL)
|
||||||
LCD4l = new CLCD4l();
|
LCD4l = new CLCD4l();
|
||||||
if(g_settings.lcd4l_support)
|
|
||||||
LCD4l->StartLCD4l();
|
LCD4l->StartLCD4l();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CZapit::getInstance()->SetScanSDT(g_settings.enable_sdt);
|
CZapit::getInstance()->SetScanSDT(g_settings.enable_sdt);
|
||||||
|
Reference in New Issue
Block a user