From 7f1736f73619fcadcb974640dc1052aa0c654850 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Fri, 21 Sep 2012 10:23:08 +0200 Subject: [PATCH] core: call va_end in all cases --- src/core/selinux-access.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c index 8a8407174..8513634f9 100644 --- a/src/core/selinux-access.c +++ b/src/core/selinux-access.c @@ -276,6 +276,7 @@ static int log_callback(int type, const char *fmt, ...) vsnprintf(buf, sizeof(buf), fmt, ap); audit_log_user_avc_message(audit_fd, AUDIT_USER_AVC, buf, NULL, NULL, NULL, 0); + va_end(ap); return 0; } #endif -- 2.30.2