sctp: cleanup

MFC after:	3 days
This commit is contained in:
Michael Tuexen 2022-04-19 21:40:22 +02:00
parent 868868f14e
commit 89c6aba7cf

View File

@ -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,