diff --git a/src/vm.cpp b/src/vm.cpp index 86306d7a6a..d4e371cb6a 100644 --- a/src/vm.cpp +++ b/src/vm.cpp @@ -1624,7 +1624,7 @@ run(Thread* t) default: abort(t); } - memset(static_cast(instance) + (sizeof(object) * 2), 0, + memset(static_cast(array) + sizeof(object) + 4, 0, c * factor); push(t, array);