Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netbt CID/90001: missing va_end()



details:   https://anonhg.NetBSD.org/src/rev/bb46285f8f6c
branches:  trunk
changeset: 784764:bb46285f8f6c
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 09 01:19:05 2013 +0000

description:
CID/90001: missing va_end()

diffstat:

 sys/netbt/l2cap_signal.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r d9152295a05e -r bb46285f8f6c sys/netbt/l2cap_signal.c
--- a/sys/netbt/l2cap_signal.c  Sat Feb 09 01:16:39 2013 +0000
+++ b/sys/netbt/l2cap_signal.c  Sat Feb 09 01:19:05 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: l2cap_signal.c,v 1.15 2011/11/29 13:16:27 plunky Exp $ */
+/*     $NetBSD: l2cap_signal.c,v 1.16 2013/02/09 01:19:05 christos Exp $       */
 
 /*-
  * Copyright (c) 2005 Iain Hibbert.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: l2cap_signal.c,v 1.15 2011/11/29 13:16:27 plunky Exp $");
+__KERNEL_RCSID(0, "$NetBSD: l2cap_signal.c,v 1.16 2013/02/09 01:19:05 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -1078,6 +1078,7 @@
 
        default:
                UNKNOWN(reason);
+               va_end(ap);
                return EINVAL;
        }
 



Home | Main Index | Thread Index | Old Index