commit | fdb6fbfa9a7b730939865b79bfbca3af278113b8 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Jan 14 15:05:56 2020 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Jan 20 15:18:45 2020 +0100 |
tree | 8c0861f61c2b190f03776722f3190aef4be26b0d | |
parent | adfc6e8e1437edc162e85ecaf7c65042217fc327 [diff] |
BUG/MINOR: tcp-rules: Fix memory releases on error path during action parsing When an error occurred during the parsing of a TCP action, if some memory was allocated, it should be released before exiting. Here, the fix consists for replace a call to free() on a sample expression by a call to release_sample_expr(). This patch may be backported to all supported versions.