mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04:00
BUG/MINOR: tcpcheck: Don't release ruleset when parsing 'spop-check' ruleset
Ruleset are stored in a global tree, released on deinit staged. All errors are fatal and abort the configuration parsing. So the current ruleset must not be released here.
This commit is contained in:
parent
6ccd962c2d
commit
f1540c0575
1 changed files with 0 additions and 1 deletions
|
|
@ -5162,7 +5162,6 @@ static int do_parse_spop_check_opt(char **args, int cur_arg, struct proxy *curpx
|
|||
return err_code;
|
||||
|
||||
error:
|
||||
free_tcpcheck_ruleset(rs);
|
||||
err_code |= ERR_ALERT | ERR_FATAL;
|
||||
goto out;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue