summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Sobrinho <franklin_gs@hotmail.com>2015-10-28 10:34:02 -0300
committerFranklin Sobrinho <franklin_gs@hotmail.com>2015-10-28 10:34:02 -0300
commit2e1b4ecf4b5286d795b8bdca23b87caa2a326306 (patch)
tree000c0b7417934151b4a48eba54446f2b249f0a18
parentbd736e5af2ec5113c23fef58523f57a0b2e11fb2 (diff)
Fix small memory leak
-rw-r--r--tools/editor/script_editor_debugger.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp
index 8e0e7ddb49..60f2afa2c2 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);