look up owner table after call to custodian_to_owner_set

svn: r12991
This commit is contained in:
Matthew Flatt 2009-01-03 17:58:20 +00:00
parent 91801b4601
commit 05e66120ef

View File

@ -466,6 +466,7 @@ static void BTC_do_accounting(NewGC *gc)
if (parent) { if (parent) {
int powner = custodian_to_owner_set(gc, parent); int powner = custodian_to_owner_set(gc, parent);
owner_table = gc->owner_table;
owner_table[powner]->memory_use += owner_table[owner]->memory_use; owner_table[powner]->memory_use += owner_table[owner]->memory_use;
} }