Free memory after deleting an address policy entry.
MFC after: 1 week
This commit is contained in:
parent
5a121e478c
commit
ecc5c7387b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user