diff --git a/core/object/method_bind.cpp b/core/object/method_bind.cpp index d1d8b075fe7..642e27c41d1 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 }