BUG/MINOR: acl: Fix memory leaks when an ACL expression is parsed

This only happens during the configuration parsing. First leak is the string
representing the last converter parsed, if any. The second one is on the error
path, when the allocation of the ACL expression failed. In this case, the sample
was not released.

This patch fixes the issue #256. It must be backported to all stable versions.

(cherry picked from commit 361935aa1e327d2249453eab0b8f0300683f47b2)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed