summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/lgc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/lgc.c')
-rw-r--r--apps/plugins/lua/lgc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/lgc.c b/apps/plugins/lua/lgc.c
index e909c79a96..98194c1771 100644
--- a/apps/plugins/lua/lgc.c
+++ b/apps/plugins/lua/lgc.c
@@ -388,7 +388,7 @@ static void freeobj (lua_State *L, GCObject *o) {
388 } 388 }
389 case LUA_TSTRING: { 389 case LUA_TSTRING: {
390 G(L)->strt.nuse--; 390 G(L)->strt.nuse--;
391 luaM_freemem(L, o, sizestring(gco2ts(o))); 391 luaM_freemem(L, o, sizetstring((gco2ts(o))->type, (gco2ts(o))->len));
392 break; 392 break;
393 } 393 }
394 case LUA_TUSERDATA: { 394 case LUA_TUSERDATA: {