From 9a74e6d7bcef08bc8333d076e7ae32b76361aa4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Tue, 25 Nov 2025 14:32:24 +0800 Subject: [PATCH] Users (Linux): adds missing `endutxent` --- src/detection/users/users_linux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/detection/users/users_linux.c b/src/detection/users/users_linux.c index acf860d77..8b828d2d4 100644 --- a/src/detection/users/users_linux.c +++ b/src/detection/users/users_linux.c @@ -64,5 +64,7 @@ next: user->loginTime = (uint64_t) n->ut_tv.tv_sec * 1000 + (uint64_t) n->ut_tv.tv_usec / 1000; } + endutxent(); + return NULL; }