mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
sctp: cleanup
MFC after: 3 days
This commit is contained in:
parent
868868f14e
commit
89c6aba7cf
|
@ -2885,7 +2885,7 @@ sctp_timer_stop(int t_type, struct sctp_inpcb *inp, struct sctp_tcb *stcb,
|
|||
*/
|
||||
tmr_net = tmr->net;
|
||||
tmr->net = NULL;
|
||||
sctp_free_remote_addr((struct sctp_nets *)tmr_net);
|
||||
sctp_free_remote_addr(tmr_net);
|
||||
}
|
||||
} else {
|
||||
SCTPDBG(SCTP_DEBUG_TIMER2,
|
||||
|
|
Loading…
Reference in a new issue