Merge pull request #53950 from qarmin/memory_leak_gdscript

This commit is contained in:
Rémi Verschelde 2021-10-18 14:02:33 +02:00 committed by GitHub
commit c5f4bf2077
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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