mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
dccp: fix memory leak during tear-down of unsuccessful connection request
am: 9e38375a4b
Change-Id: I365b84799d537368f2fc8629fd0c15a27d4dbbea
This commit is contained in:
@@ -749,6 +749,7 @@ static void ccid2_hc_tx_exit(struct sock *sk)
|
||||
for (i = 0; i < hc->tx_seqbufc; i++)
|
||||
kfree(hc->tx_seqbuf[i]);
|
||||
hc->tx_seqbufc = 0;
|
||||
dccp_ackvec_parsed_cleanup(&hc->tx_av_chunks);
|
||||
}
|
||||
|
||||
static void ccid2_hc_rx_packet_recv(struct sock *sk, struct sk_buff *skb)
|
||||
|
||||
Reference in New Issue
Block a user