mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-19 01:54:37 +00:00
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:
parent
e4f122f3f4
commit
c6931a4f01
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user