diff options
| author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2017-03-22 11:31:41 +0000 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2017-03-22 11:31:41 +0000 |
| commit | a171079171c26df283e2ad9ffc67554e0b1cd22c (patch) | |
| tree | 53822e9553bf0e3466eea64d8955964a92015674 | |
| parent | daa1fae0fb67e7a3ce347176cecdba8b0c39c309 (diff) | |
| parent | 676fe978525d3d3f583e1f6463f3b25623e81afd (diff) | |
dccp: fix memory leak during tear-down of unsuccessful connection request
am: 676fe97852
Change-Id: Ibf191dd00ac72ee187beff00a46be207778ea912
| -rw-r--r-- | net/dccp/ccids/ccid2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/ccids/ccid2.c b/net/dccp/ccids/ccid2.c index f053198e730c..5e3a7302f774 100644 --- a/net/dccp/ccids/ccid2.c +++ b/net/dccp/ccids/ccid2.c @@ -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) |
