summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2012-09-21 10:23:08 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-21 12:08:26 +0200
commit7f1736f73619fcadcb974640dc1052aa0c654850 (patch)
treea7234d45a6c72340ab0394c4839bae92904e95b9 /src/core
parente98055de981b568c31f18f470181ae166b56f172 (diff)
core: call va_end in all cases
Diffstat (limited to 'src/core')
-rw-r--r--src/core/selinux-access.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c
index 8a84071740..8513634f96 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