commit | 22e0d9b39cfb238e7bf866b3d78aa9b393004508 | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Tue Jan 12 14:55:12 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Jan 12 17:00:59 2021 +0100 |
tree | e1796b12bbb09eaf0288a652aca020cf81dc4433 | |
parent | a1eea3bbb1973f3becc4603c3bbad4e96af3361f [diff] |
BUG/MINOR: sample: Memory leak of sample_expr structure in case of error If an errors occurs during the sample expression parsing, the alloced sample_expr is not freed despite having its main pointer reset. This fixes GitHub issue #1046. It could be backported as far as 1.8.