Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=148b38dc9309044c8656aa36d5fd86069e2ea7cc
Commit:     148b38dc9309044c8656aa36d5fd86069e2ea7cc
Parent:     ef00be0554f1af9f2b685e0e3bb9e2ec0181937e
Author:     Richard Knutsson <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 10 11:02:40 2008 -0800
Committer:  Al Viro <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 14:24:57 2008 -0500

    [patch 2/2] audit: complement va_copy with va_end()
    
    Complement va_copy() with va_end().
    
    Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]>
    Cc: Al Viro <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
 kernel/audit.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/audit.c b/kernel/audit.c
index b617f69..9e3e457 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -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:
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to