From 78a7f945e4b90852034fd0c5dfdcfacd9180cb74 Mon Sep 17 00:00:00 2001 From: Ibrahn Sahir Date: Fri, 17 May 2019 15:37:42 +0100 Subject: [PATCH] Removed an unused and leaked CheckButton instance in theme editor plugin (cherry picked from commit cbf2d3cdc4878ee90b2153e56e583bbc06ceb803) --- editor/plugins/theme_editor_plugin.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index 0bbffc8a0bf..e959fa9beae 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -683,7 +683,6 @@ ThemeEditor::ThemeEditor() { CheckButton *cb = memnew(CheckButton); cb->set_text("CheckButton"); first_vb->add_child(cb); - cb = memnew(CheckButton); CheckBox *cbx = memnew(CheckBox); cbx->set_text("CheckBox"); first_vb->add_child(cbx);