X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fselinux-access.c;h=8513634f965bc9758d4e7d32cb8ed79d155545f0;hb=7f1736f73619fcadcb974640dc1052aa0c654850;hp=8a8407174039fb584118a1f17e9d00bef704af4a;hpb=5f29d24decf9f48227b4970a65122b1adac84ffa;p=elogind.git 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