commit | dd7e6c6dc7d65c8fb0c77bfbf4d12b01b792295c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Mar 17 20:29:06 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Mar 17 20:29:06 2022 +0100 |
tree | b1f3b8a9deb18b0b4814655df44d181bcf93b7f5 | |
parent | 388c0f2a6385060ee7f2d93863efddc9f0aba284 [diff] |
BUG/MINOR: http-rules: completely free incorrect TCP rules on error When a http-request or http-response rule fails to parse, we currently free only the rule without its contents, which makes ASAN complain. Now that we have a new function for this, let's completely free the rule. This relies on this commit: MINOR: actions: add new function free_act_rule() to free a single rule It's probably not needed to backport this since we're on the exit path anyway.