core: call va_end in all cases

This commit is contained in:
Lukas Nykryn 2012-09-21 10:23:08 +02:00 committed by Lennart Poettering
parent e98055de98
commit 7f1736f736
1 changed files with 1 additions and 0 deletions

View File

@ -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