void luaT_free(lua_State *L, void *ptr)
Free memory allocated at address ptr. The memory must have been previously allocated with luaT_alloc or luaT_realloc, or the C malloc or realloc functions.
ptr
luaT_alloc
luaT_realloc
malloc
realloc