fix sharedata emptyslot

This commit is contained in:
wudeng
2019-11-29 14:47:34 +08:00
committed by 云风
parent a15c64a73b
commit b295b875c8

View File

@@ -253,6 +253,7 @@ fillcolliding(lua_State *L, struct context *ctx) {
for (i=emptyslot;i<sizehash;i++) {
if (tbl->hash[i].valuetype == VALUETYPE_NIL) {
n = &tbl->hash[i];
emptyslot = i + 1;
break;
}
}