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:
2021-05-06 22:09:24 +02:00
committed by vanhofen
parent 515a2cfa39
commit ee26ea9e57

View File

@@ -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);