From 82e4d029c5353d313e565cb9c2a5282454f87d9b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 18 Nov 2019 11:27:30 +0100 Subject: ngtcp2: free used resources on disconnect Fixes #4614 Closes #4615 --- lib/vquic/ngtcp2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/vquic/ngtcp2.h') diff --git a/lib/vquic/ngtcp2.h b/lib/vquic/ngtcp2.h index 62eae4895..82b8d41e3 100644 --- a/lib/vquic/ngtcp2.h +++ b/lib/vquic/ngtcp2.h @@ -49,7 +49,7 @@ struct quicsocket { uint8_t *rx_secret; /* malloced */ uint8_t *tx_secret; /* points into the above buffer */ size_t rx_secretlen; - struct quic_handshake client_crypto_data[3]; + struct quic_handshake crypto_data[3]; /* the last TLS alert description generated by the local endpoint */ uint8_t tls_alert; struct sockaddr_storage local_addr; -- cgit v1.2.3