mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02: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
@ -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…
x
Reference in New Issue
Block a user