1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

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
} }