From c6931a4f01a29cb4f36e0b70900a6c97a5a2bdda Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Tue, 11 Jun 2024 10:52:37 +0200 Subject: [PATCH] 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. --- src/proxy.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.47.3