mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-28 17:49:36 -04:00
CLEANUP: deinit: remove codes for cleaning p->block_rules
Since all rules listed in p->block_rules have been moved to the beginning of the http-request rules in check_config_validity(), there is no need to clean p->block_rules in deinit(). Signed-off-by: Godbach <nylzhaowei@gmail.com>
This commit is contained in:
parent
4c2479e1c4
commit
28b48ccbc8
1 changed files with 0 additions and 6 deletions
|
|
@ -1291,12 +1291,6 @@ void deinit(void)
|
|||
free(cwl);
|
||||
}
|
||||
|
||||
list_for_each_entry_safe(cond, condb, &p->block_rules, list) {
|
||||
LIST_DEL(&cond->list);
|
||||
prune_acl_cond(cond);
|
||||
free(cond);
|
||||
}
|
||||
|
||||
list_for_each_entry_safe(cond, condb, &p->mon_fail_cond, list) {
|
||||
LIST_DEL(&cond->list);
|
||||
prune_acl_cond(cond);
|
||||
|
|
|
|||
Loading…
Reference in a new issue