From 1f6dba9c73c93d6a2f3e43c70dacec4163e2823c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 22 Nov 2022 20:09:37 +0100 Subject: [PATCH] Cleanup --- UI/DisplayLayoutScreen.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UI/DisplayLayoutScreen.cpp b/UI/DisplayLayoutScreen.cpp index 19bbfe1d6c69..de320799163f 100644 --- a/UI/DisplayLayoutScreen.cpp +++ b/UI/DisplayLayoutScreen.cpp @@ -253,8 +253,7 @@ void DisplayLayoutScreen::CreateViews() { root_->Add(mode_); } if (label) { - // root_->Add(label); - delete label; + root_->Add(label); } static const char *zoomLevels[] = { "Stretching", "Partial Stretch", "Auto Scaling", "Manual Scaling" };