destroy lock _before_ free'ing the structure it resides in
This commit is contained in:
parent
0303ff9d39
commit
2269fa4b40
@ -417,9 +417,8 @@ void
|
||||
if_free(struct ifnet *ifp)
|
||||
{
|
||||
|
||||
if_free_type(ifp, ifp->if_type);
|
||||
|
||||
IF_ADDR_LOCK_DESTROY(ifp);
|
||||
if_free_type(ifp, ifp->if_type);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user