Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 148b38dc authored by Richard Knutsson's avatar Richard Knutsson Committed by Al Viro
Browse files

[patch 2/2] audit: complement va_copy with va_end()



Complement va_copy() with va_end().

Signed-off-by: default avatarRichard Knutsson <ricknu-0@student.ltu.se>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent ef00be05
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1151,6 +1151,7 @@ static void audit_log_vformat(struct audit_buffer *ab, const char *fmt,
			goto out;
		len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2);
	}
	va_end(args2);
	if (len > 0)
		skb_put(skb, len);
out: