mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 19:34:43 +01:00
Free memory after deleting an address policy entry.
MFC after: 1 week
This commit is contained in:
1 parent
5a121e478c
commit
ecc5c7387b
1 file changed
+1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249398
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user