]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: qpack: fix memory leak on huffman decoding
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 30 Sep 2021 15:14:55 +0000 (17:14 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 8 Oct 2021 13:45:57 +0000 (15:45 +0200)
commit9c8c4fa3a25d8489955d3e98b46238109e0fed12
tree006340dc74a0611d302ac4cdaaed45ed248984fe
parent3a590c7ff28d840bdffd5faeddf1f799bd392445
MINOR: qpack: fix memory leak on huffman decoding

Remove an unneeded strdup invocation during QPACK huffman decoding. A
temporary storage buffer is passed by the function and exists after
decoding so no need to duplicate memory here.
src/qpack-dec.c