Date: Sat, 15 Oct 2011 13:03:25 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r226392 - stable/8/sys/netipsec Message-ID: <201110151303.p9FD3PQM014857@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brueffer Date: Sat Oct 15 13:03:25 2011 New Revision: 226392 URL: http://svn.freebsd.org/changeset/base/226392 Log: MFC: r226117 Add missing va_end() in an error case to clean up after va_start() (already done in the non-error case). Modified: stable/8/sys/netipsec/key.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/netipsec/key.c ============================================================================== --- stable/8/sys/netipsec/key.c Sat Oct 15 12:59:30 2011 (r226391) +++ stable/8/sys/netipsec/key.c Sat Oct 15 13:03:25 2011 (r226392) @@ -1763,6 +1763,7 @@ key_gather_mbuf(m, mhp, ndeep, nitem, va fail: m_freem(result); + va_end(ap); return NULL; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110151303.p9FD3PQM014857>