Free memory after deleting an address policy entry.

MFC after:	1 week
This commit is contained in:
ae 2013-04-12 07:59:54 +00:00
parent 7485ad7981
commit cd45f7487f

View File

@ -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);
}