lcd4l-setup: align code to tuxbox git

Origin commit data
------------------
Branch: ni/coolstream
Commit: b443b918a7
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-05-12 (Sun, 12 May 2019)

Origin message was:
------------------
- lcd4l-setup: align code to tuxbox git

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-05-12 14:39:24 +02:00
parent 42b35a157f
commit d52dfb2515

View File

@@ -220,9 +220,13 @@ int CLCD4lSetup::show()
int res = lcd4lSetup->exec(NULL, "");
lcd4lSetup->hide();
delete lcd_clock_a;
delete lcd_weather;
delete lcd4lSetup;
if (lcd_clock_a)
delete lcd_clock_a;
if (lcd4lSetup)
delete lcd4lSetup;
if (lcd_weather)
delete lcd_weather;
// the things to do on exit