diff options
author | Mike Pall <mike> | 2009-12-29 04:36:35 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2009-12-29 04:36:35 +0100 |
commit | 24429ed1f5c52258700e2e16c898c1dd9b8c4203 (patch) | |
tree | 984fd197d92070fe6e04edbe237444ee44b5b0c5 /src/lj_str.c | |
parent | 81c9f5de89a03396ca80cd84e7c68552df7fd9f4 (diff) | |
download | luajit-24429ed1f5c52258700e2e16c898c1dd9b8c4203.tar.gz luajit-24429ed1f5c52258700e2e16c898c1dd9b8c4203.tar.bz2 luajit-24429ed1f5c52258700e2e16c898c1dd9b8c4203.zip |
Fix alloc/free sizes of internal GCRef arrays.
Diffstat (limited to '')
-rw-r--r-- | src/lj_str.c | 2 |
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) | |||
64 | p = next; | 64 | p = next; |
65 | } | 65 | } |
66 | } | 66 | } |
67 | lj_mem_freevec(g, g->strhash, g->strmask+1, GCstr *); | 67 | lj_mem_freevec(g, g->strhash, g->strmask+1, GCRef); |
68 | g->strmask = newmask; | 68 | g->strmask = newmask; |
69 | g->strhash = newhash; | 69 | g->strhash = newhash; |
70 | } | 70 | } |