chore(color): fix compile error if LUA_ALLOCATOR_TRACER is defined (#7808)

This commit is contained in:
philmoz
2026-09-19 09:51:28 +10:00
committed by GitHub
parent ea44383da7
commit 44da67ed7a
+1 -1
View File
@@ -38,7 +38,7 @@ LuaMemTracer lsStandaloneTrace;
static void luaStandaloneHook(lua_State * L, lua_Debug *ar)
{
else if (ar->event == LUA_HOOKLINE) {
if (ar->event == LUA_HOOKLINE) {
lua_getinfo(L, "nSl", ar);
LuaMemTracer * tracer = &lsStandaloneTrace;
if (tracer->alloc || tracer->free) {