Free memory after deleting an address policy entry.
MFC after: 1 week
This commit is contained in:
parent
7485ad7981
commit
cd45f7487f
@ -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