From: Lukas Nykryn Date: Fri, 21 Sep 2012 08:23:08 +0000 (+0200) Subject: core: call va_end in all cases X-Git-Tag: v191~24 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7f1736f73619fcadcb974640dc1052aa0c654850;p=elogind.git core: call va_end in all cases --- 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