From 1485f3c168d984d02af6530bbe2202b55d24f212 Mon Sep 17 00:00:00 2001 From: kosaki Date: Sat, 11 Jun 2011 05:21:30 +0000 Subject: * vm.c (thread_memsize): don't ignore size of th->local_storage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm.c') 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; } -- cgit v1.2.3