mirror of https://github.com/arendst/Tasmota.git
Merge pull request #14053 from s-hadinger/berry_more_fix
Berry yet another fix
This commit is contained in:
commit
833ac3afc6
|
@ -203,6 +203,7 @@ static void resize(bvm *vm, bmap *map, int size)
|
||||||
slots = be_malloc(vm, datasize(size));
|
slots = be_malloc(vm, datasize(size));
|
||||||
for (i = 0; i < size; ++i) {
|
for (i = 0; i < size; ++i) {
|
||||||
setnil(slots + i);
|
setnil(slots + i);
|
||||||
|
next(slots + i) = LASTNODE;
|
||||||
}
|
}
|
||||||
map->size = size;
|
map->size = size;
|
||||||
map->slots = slots;
|
map->slots = slots;
|
||||||
|
|
Loading…
Reference in New Issue