Fix alloc/free sizes of internal GCRef arrays.

This commit is contained in:
Mike Pall
2009-12-29 04:36:35 +01:00
parent 81c9f5de89
commit 24429ed1f5
5 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ void lj_str_resize(lua_State *L, MSize newmask)
p = next;
}
}
lj_mem_freevec(g, g->strhash, g->strmask+1, GCstr *);
lj_mem_freevec(g, g->strhash, g->strmask+1, GCRef);
g->strmask = newmask;
g->strhash = newhash;
}