svn commit: r226393 - stable/7/sys/netipsec

[ Available lists | Index of svn-src-all | Month of Oct 2011 | Week of 15 Oct 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Christian Brueffer <brueffer@FreeBSD.org>
Date
15 Oct 2011 13:05:31
Subject
svn commit: r226393 - stable/7/sys/netipsec
Message-ID
201110151305.p9FD5Vdv014973@svn.freebsd.org


[ Hide this part ]
Author: brueffer
Date: Sat Oct 15 13:05:31 2011
New Revision: 226393
URL: http://svn.freebsd.org/changeset/base/226393

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/7/sys/netipsec/key.c
Directory Properties:
stable/7/sys/ (props changed)
stable/7/sys/cddl/contrib/opensolaris/ (props changed)
stable/7/sys/contrib/dev/acpica/ (props changed)
stable/7/sys/contrib/pf/ (props changed)

Modified: stable/7/sys/netipsec/key.c
==============================================================================
--- stable/7/sys/netipsec/key.c Sat Oct 15 13:03:25 2011 (r226392)
+++ stable/7/sys/netipsec/key.c Sat Oct 15 13:05:31 2011 (r226393)
@@ -1708,6 +1708,7 @@ key_gather_mbuf(m, mhp, ndeep, nitem, va

fail:
m_freem(result);
+ va_end(ap);
return NULL;
}



Elapsed time: 0.089 seconds