Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/netinet6 Pull up following revision(s) (requested by ...
details: https://anonhg.NetBSD.org/src/rev/2c4954979274
branches: netbsd-6
changeset: 776692:2c4954979274
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Aug 27 14:44:42 2014 +0000
description:
Pull up following revision(s) (requested by maxv in ticket #1114):
sys/netinet6/ip6_output.c 1.158 via patch
Fix a memory leak in calling setsockopt() on an INET6 socket.
diffstat:
sys/netinet6/ip6_output.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r fd6d802b223a -r 2c4954979274 sys/netinet6/ip6_output.c
--- a/sys/netinet6/ip6_output.c Wed Aug 27 14:39:19 2014 +0000
+++ b/sys/netinet6/ip6_output.c Wed Aug 27 14:44:42 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6_output.c,v 1.145 2012/02/05 00:41:15 rmind Exp $ */
+/* $NetBSD: ip6_output.c,v 1.145.2.1 2014/08/27 14:44:42 msaitoh Exp $ */
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.145 2012/02/05 00:41:15 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.145.2.1 2014/08/27 14:44:42 msaitoh Exp $");
#include "opt_inet.h"
#include "opt_inet6.h"
@@ -1781,6 +1781,8 @@
optp = &in6p->in6p_outputopts;
error = ip6_pcbopt(optname, optbuf, optbuflen,
optp, kauth_cred_get(), uproto);
+
+ free(optbuf, M_IP6OPT);
break;
}
#undef OPTSET
Home |
Main Index |
Thread Index |
Old Index