nfqws2: fix null ptr deref

This commit is contained in:
bol-van
2026-04-25 18:31:46 +03:00
parent 65bb7ac639
commit aa226e6e7a
+1 -1
View File
@@ -3843,7 +3843,7 @@ static int luacall_timer_del(lua_State *L)
TimerPoolDel(&params.timers, timer); TimerPoolDel(&params.timers, timer);
} }
else else
DLOG("timer: '%s' not found\n", timer->str); DLOG("timer: '%s' not found\n", name);
lua_pushboolean(L, !!timer); lua_pushboolean(L, !!timer);
LUA_STACK_GUARD_RETURN(L,1) LUA_STACK_GUARD_RETURN(L,1)
} }