diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-08-22 10:33:23 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-08-22 10:33:23 +0000 |
commit | 1fd9a929e6d2ad9f4ee609809ba4ffcdb53011a4 (patch) | |
tree | a6461a976d05ce192b585855bd2a13189e13f6c1 /sys/netinet6/in6.c | |
parent | 43b309c717d69973637c2f73a3c7e12a6b2c78ab (diff) |
Sizes for free(9) from David Hill.
Diffstat (limited to 'sys/netinet6/in6.c')
-rw-r--r-- | sys/netinet6/in6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index 219c6c9491b..8ecdd65cc0a 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.c,v 1.190 2016/08/08 13:09:36 mpi Exp $ */ +/* $OpenBSD: in6.c,v 1.191 2016/08/22 10:33:22 mpi Exp $ */ /* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */ /* @@ -1917,5 +1917,5 @@ in6_domifdetach(struct ifnet *ifp, void *aux) struct in6_ifextra *ext = (struct in6_ifextra *)aux; nd6_ifdetach(ext->nd_ifinfo); - free(ext, M_IFADDR, 0); + free(ext, M_IFADDR, sizeof(*ext)); } |