CLEANUP: log/proxy: fix comment in proxy_free_common()

Thanks to previous commit, logformat expressions for default proxies are
also postchecked, adjusting a comment that suggests it's not the case.
This commit is contained in:
Aurelien DARRAGON 2024-06-11 10:52:37 +02:00
parent e4f122f3f4
commit c6931a4f01

View File

@ -247,8 +247,7 @@ static inline void proxy_free_common(struct proxy *px)
}
/* ensure that remaining lf_expr that were not postchecked (ie: disabled
* or default proxy) don't keep a reference on the proxy which is about
* to be freed.
* proxy) don't keep a reference on the proxy which is about to be freed.
*/
list_for_each_entry_safe(lf, lfb, &px->conf.lf_checks, list)
LIST_DEL_INIT(&lf->list);