svn commit: r226392 - stable/8/sys/netipsec

Christian Brueffer brueffer at FreeBSD.org
Sat Oct 15 13:03:26 UTC 2011


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;
 }
 


More information about the svn-src-stable-8 mailing list