]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ngtcp2: fix memory leak
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Sun, 10 Apr 2022 21:10:20 +0000 (23:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 10 Apr 2022 21:10:21 +0000 (23:10 +0200)
Closes #8691

lib/vquic/ngtcp2.c

index 5e72be2ab08be47f9751be63d69d27d46882da8a..63c83584e6c40f88f0812ee4bf603e36207b6755 100644 (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);
   }
 }