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:
Christopher Faulet 2026-04-23 09:03:55 +02:00
parent 6ccd962c2d
commit f1540c0575

View File

@ -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;
}