From 6a92d16c6768e55671e6ab20bebf0af631546dec Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 26 Jun 2020 00:49:03 +0200 Subject: [PATCH] - glcdsetup: fix memleak Signed-off-by: Thilo Graf --- src/gui/glcdsetup.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/glcdsetup.cpp b/src/gui/glcdsetup.cpp index 3804922f8..d3582c8d6 100644 --- a/src/gui/glcdsetup.cpp +++ b/src/gui/glcdsetup.cpp @@ -580,10 +580,6 @@ int GLCD_Menu::GLCD_Menu_Select_Driver() m->enableSaveScreen(); res = m->exec(NULL, ""); - - if (!m->gotAction()) - return res; - delete selector; m->hide(); }