Browse Source

Merge pull request #53950 from qarmin/memory_leak_gdscript

Rémi Verschelde 3 years ago
parent
commit
c5f4bf2077
1 changed files with 0 additions and 2 deletions
  1. 0 2
      core/object/method_bind.cpp

+ 0 - 2
core/object/method_bind.cpp

@@ -130,9 +130,7 @@ MethodBind::MethodBind() {
 }
 
 MethodBind::~MethodBind() {
-#ifdef DEBUG_METHODS_ENABLED
 	if (argument_types) {
 		memdelete_arr(argument_types);
 	}
-#endif
 }