From cd29c1651e79bf1d1f5a3c8926cdf2fcf829c94e Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 10 Apr 2022 23:10:20 +0200 Subject: [PATCH] ngtcp2: fix memory leak Closes #8691 --- lib/vquic/ngtcp2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index 5e72be2ab0..63c83584e6 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -1865,6 +1865,7 @@ void Curl_quic_done(struct Curl_easy *data, bool premature) /* only for HTTP/3 transfers */ struct HTTP *stream = data->req.p.http; Curl_dyn_free(&stream->overflow); + free(stream->h3out); } } -- 2.47.3