- glcdsetup: fix memleak

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-06-26 00:49:03 +02:00
committed by Thilo Graf
parent e8e9f6cad3
commit 6a92d16c67

View File

@@ -580,10 +580,6 @@ int GLCD_Menu::GLCD_Menu_Select_Driver()
m->enableSaveScreen(); m->enableSaveScreen();
res = m->exec(NULL, ""); res = m->exec(NULL, "");
if (!m->gotAction())
return res;
delete selector; delete selector;
m->hide(); m->hide();
} }