ngtcp2: fix memory leak

Closes #8691
This commit is contained in:
Tatsuhiro Tsujikawa 2022-04-10 23:10:20 +02:00 committed by Daniel Stenberg
parent fa25dab7fd
commit cd29c1651e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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);
}
}