Berry yet another fix

This commit is contained in:
Stephan Hadinger 2021-12-14 23:23:56 +01:00
parent 00a02cca41
commit 38331dc35e
1 changed files with 1 additions and 0 deletions

View File

@ -203,6 +203,7 @@ static void resize(bvm *vm, bmap *map, int size)
slots = be_malloc(vm, datasize(size));
for (i = 0; i < size; ++i) {
setnil(slots + i);
next(slots + i) = LASTNODE;
}
map->size = size;
map->slots = slots;