summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 57cb090922..83d4351fcb 100644
--- a/vm.c
+++ b/vm.c
@@ -1761,7 +1761,7 @@ thread_memsize(const void *ptr)
size += th->stack_size * sizeof(VALUE);
}
if (th->local_storage) {
- st_memsize(th->local_storage);
+ size += st_memsize(th->local_storage);
}
return size;
}