diff options
author | ae <ae@FreeBSD.org> | 2013-04-12 07:59:54 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2013-04-12 07:59:54 +0000 |
commit | cd45f7487ff9a8671b59e67ff07c879c37b313c6 (patch) | |
tree | 30ebd95be5b587bff1025c8ca0c030700dc9a3a3 | |
parent | 7485ad7981de647da0b0ad0940d034bd1a32e534 (diff) | |
download | FreeBSD-src-cd45f7487ff9a8671b59e67ff07c879c37b313c6.zip FreeBSD-src-cd45f7487ff9a8671b59e67ff07c879c37b313c6.tar.gz |
Free memory after deleting an address policy entry.
MFC after: 1 week
-rw-r--r-- | sys/netinet6/in6_src.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/in6_src.c b/sys/netinet6/in6_src.c index 25f10f3..2a46812 100644 --- a/sys/netinet6/in6_src.c +++ b/sys/netinet6/in6_src.c @@ -1100,6 +1100,7 @@ delete_addrsel_policyent(struct in6_addrpolicy *key) TAILQ_REMOVE(&V_addrsel_policytab, pol, ape_entry); ADDRSEL_UNLOCK(); ADDRSEL_XUNLOCK(); + free(pol, M_IFADDR); return (0); } |