Merge pull request #14053 from s-hadinger/berry_more_fix

Berry yet another fix
This commit is contained in:
s-hadinger 2021-12-14 23:41:05 +01:00 committed by GitHub
commit 833ac3afc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;