From 2e1b4ecf4b5286d795b8bdca23b87caa2a326306 Mon Sep 17 00:00:00 2001 From: Franklin Sobrinho Date: Wed, 28 Oct 2015 10:34:02 -0300 Subject: [PATCH] Fix small memory leak --- tools/editor/script_editor_debugger.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp index 8e0e7ddb49c..60f2afa2c28 100644 --- a/tools/editor/script_editor_debugger.cpp +++ b/tools/editor/script_editor_debugger.cpp @@ -1376,7 +1376,6 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor){ vmem_refresh->connect("pressed",this,"_video_mem_request"); MarginContainer *vmmc = memnew( MarginContainer ); - vmmc = memnew( MarginContainer ); vmem_tree = memnew( Tree ); vmem_tree->set_v_size_flags(SIZE_EXPAND_FILL); vmem_tree->set_h_size_flags(SIZE_EXPAND_FILL);