From: Aurelien DARRAGON Date: Tue, 11 Jun 2024 08:52:37 +0000 (+0200) Subject: CLEANUP: log/proxy: fix comment in proxy_free_common() X-Git-Tag: v3.1-dev1~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6931a4f01a29cb4f36e0b70900a6c97a5a2bdda;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/proxy.c b/src/proxy.c index eb39439b15..3acfdf6f84 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -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);