commit | caf5f5d3026e5cb00c1428242209624731eeee19 | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Wed Dec 01 23:04:15 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Dec 03 09:03:55 2021 +0100 |
tree | 9506067b0c66d3427f77155b87752ab38088f2d7 | |
parent | d6ae912b04a38a544b2d37f549c7f86ae51e929c [diff] |
BUG/MEDIUM: sample: Fix memory leak in sample_conv_jwt_member_query The function leaked one full buffer per invocation. Fix this by simply removing the call to alloc_trash_chunk(), the static chunk from get_trash_chunk() is sufficient. This bug was introduced in 0a72f5ee7c2a61bdb379436461269315c776b50a, which is 2.5-dev10. This fix needs to be backported to 2.5+.