mirror of
https://github.com/systemd/systemd.git
synced 2025-03-21 02:50:18 +03:00
core: call va_end in all cases
This commit is contained in:
parent
e98055de98
commit
7f1736f736
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user