summaryrefslogtreecommitdiff
path: root/core/method_bind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/method_bind.cpp')
-rw-r--r--core/method_bind.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/method_bind.cpp b/core/method_bind.cpp
index a88e6e21b0..3244c63292 100644
--- a/core/method_bind.cpp
+++ b/core/method_bind.cpp
@@ -103,7 +103,8 @@ MethodBind::MethodBind() {
MethodBind::~MethodBind() {
#ifdef DEBUG_METHODS_ENABLED
- if (argument_types)
+ if (argument_types) {
memdelete_arr(argument_types);
+ }
#endif
}