must use RTFREE instead of rtfree for proper locking
This commit is contained in:
parent
e04f2bba96
commit
6536168e0a
@ -459,7 +459,7 @@ at_pcbdetach( struct socket *so, struct ddpcb *ddp)
|
||||
}
|
||||
|
||||
if ( ddp->ddp_route.ro_rt ) {
|
||||
rtfree( ddp->ddp_route.ro_rt );
|
||||
RTFREE( ddp->ddp_route.ro_rt );
|
||||
}
|
||||
|
||||
if ( ddp->ddp_prev ) {
|
||||
|
@ -459,7 +459,7 @@ at_pcbdetach( struct socket *so, struct ddpcb *ddp)
|
||||
}
|
||||
|
||||
if ( ddp->ddp_route.ro_rt ) {
|
||||
rtfree( ddp->ddp_route.ro_rt );
|
||||
RTFREE( ddp->ddp_route.ro_rt );
|
||||
}
|
||||
|
||||
if ( ddp->ddp_prev ) {
|
||||
|
Loading…
Reference in New Issue
Block a user