summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-18 14:02:33 +0200
committerGitHub <noreply@github.com>2021-10-18 14:02:33 +0200
commitc5f4bf207742c5e584900ef13dba7e44a454280b (patch)
tree48675134767936231c86412d6e1a42f208fcb2a3
parent79349a49028c5f25dfb32ab7b8fdf937cada1351 (diff)
parent343d005e0f8739ca5fd5cfbd74a3be873bb93fae (diff)
Merge pull request #53950 from qarmin/memory_leak_gdscript
-rw-r--r--core/object/method_bind.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/object/method_bind.cpp b/core/object/method_bind.cpp
index d1d8b075fe..642e27c41d 100644
--- a/core/object/method_bind.cpp
+++ b/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
}