summaryrefslogtreecommitdiff
path: root/src/lj_str.c
diff options
context:
space:
mode:
authorMike Pall <mike>2009-12-29 04:36:35 +0100
committerMike Pall <mike>2009-12-29 04:36:35 +0100
commit24429ed1f5c52258700e2e16c898c1dd9b8c4203 (patch)
tree984fd197d92070fe6e04edbe237444ee44b5b0c5 /src/lj_str.c
parent81c9f5de89a03396ca80cd84e7c68552df7fd9f4 (diff)
downloadluajit2-24429ed1f5c52258700e2e16c898c1dd9b8c4203.tar.gz
Fix alloc/free sizes of internal GCRef arrays.
Diffstat (limited to 'src/lj_str.c')
-rw-r--r--src/lj_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_str.c b/src/lj_str.c
index 62322b59..fec2d9b2 100644
--- a/src/lj_str.c
+++ b/src/lj_str.c
@@ -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;
}