mirror of https://github.com/arendst/Tasmota.git
Berry yet another fix
This commit is contained in:
parent
00a02cca41
commit
38331dc35e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue