diff options
author | suz <suz@FreeBSD.org> | 2005-09-16 01:42:50 +0000 |
---|---|---|
committer | suz <suz@FreeBSD.org> | 2005-09-16 01:42:50 +0000 |
commit | 6036f04babada132a3877d5829a9efff39be490b (patch) | |
tree | 17732c51045f02d4745b8b805737335a278caf42 | |
parent | 638e44e0feeb8a4d53871fa227929af7c9e8b702 (diff) | |
download | FreeBSD-src-6036f04babada132a3877d5829a9efff39be490b.zip FreeBSD-src-6036f04babada132a3877d5829a9efff39be490b.tar.gz |
plugged a possible memory leak
Obtained from: KAME
MFC after: 1 day
-rw-r--r-- | sys/netinet6/nd6_nbr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c index 41a58bb..96db8fa 100644 --- a/sys/netinet6/nd6_nbr.c +++ b/sys/netinet6/nd6_nbr.c @@ -595,7 +595,7 @@ nd6_na_input(m, off, icmp6len) taddr6 = nd_na->nd_na_target; if (in6_setscope(&taddr6, ifp, NULL)) - return; /* XXX: impossible */ + goto bad; /* XXX: impossible */ if (IN6_IS_ADDR_MULTICAST(&taddr6)) { nd6log((LOG_ERR, |