Author: brueffer Date: Sat Oct 15 12:10:34 2011 New Revision: 226386 URL: http://svn.freebsd.org/changeset/base/226386
Log: MFC: r226117 Add missing va_end() in an error case to clean up after va_start() (already done in the non-error case). Approved by: re (kib) Modified: stable/9/sys/netipsec/key.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/amd64/include/xen/ (props changed) stable/9/sys/boot/ (props changed) stable/9/sys/boot/i386/efi/ (props changed) stable/9/sys/boot/ia64/efi/ (props changed) stable/9/sys/boot/ia64/ski/ (props changed) stable/9/sys/boot/powerpc/boot1.chrp/ (props changed) stable/9/sys/boot/powerpc/ofw/ (props changed) stable/9/sys/cddl/contrib/opensolaris/ (props changed) stable/9/sys/conf/ (props changed) stable/9/sys/contrib/dev/acpica/ (props changed) stable/9/sys/contrib/octeon-sdk/ (props changed) stable/9/sys/contrib/pf/ (props changed) stable/9/sys/contrib/x86emu/ (props changed) Modified: stable/9/sys/netipsec/key.c ============================================================================== --- stable/9/sys/netipsec/key.c Sat Oct 15 12:08:21 2011 (r226385) +++ stable/9/sys/netipsec/key.c Sat Oct 15 12:10:34 2011 (r226386) @@ -1764,6 +1764,7 @@ key_gather_mbuf(m, mhp, ndeep, nitem, va fail: m_freem(result); + va_end(ap); return NULL; } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"