From cf9d1eecbfd6d658061aa2f54f1c1915d28d4ed0 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sun, 12 May 2019 12:21:15 +0200 Subject: [PATCH] fix memleak --- src/gui/lcd4l_setup.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/lcd4l_setup.cpp b/src/gui/lcd4l_setup.cpp index 330b4fd6c..59eb3bdc8 100644 --- a/src/gui/lcd4l_setup.cpp +++ b/src/gui/lcd4l_setup.cpp @@ -222,6 +222,8 @@ int CLCD4lSetup::show() delete lcd_clock_a; if (lcd4lSetup) delete lcd4lSetup; + if(lcd_weather) + delete lcd_weather; // the things to do on exit