Skip to content

Commit

Permalink
lj_state.c: Fix dealloc to match
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Nov 29, 2017
1 parent bc57ceb commit d371db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lj_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ static void close_state(lua_State *L)
lj_mem_freevec(g, tvref(L->stack), L->stacksize, TValue);
lj_mem_free(g, J->snapmapbuf, J->sizesnapmap);
lj_mem_free(g, J->snapbuf, J->sizesnap);
lj_mem_free(g, J->irbuf-REF_BIAS, 65536*sizeof(IRIns));
lj_mem_free(g, J->irbuf, 65536*sizeof(IRIns));
lua_assert(g->gc.total == sizeof(GG_State));
#ifndef LUAJIT_USE_SYSMALLOC
if (g->allocf == lj_alloc_f)
Expand Down

0 comments on commit d371db6

Please sign in to comment.