Fix memory leak in exported project

This commit is contained in:
qarmin 2021-10-18 11:19:31 +02:00
parent 523e0d80a8
commit 343d005e0f

View file

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