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