Fix memory leak in exported project
This commit is contained in:
parent
523e0d80a8
commit
343d005e0f
|
@ -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
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue