From f15f0d5839479f8511621b88fa4bdcca3b89cc32 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sat, 14 Sep 2019 18:05:45 -0600 Subject: Eliminate some TODOs --- modules/caddyhttp/matchers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/caddyhttp/matchers.go') diff --git a/modules/caddyhttp/matchers.go b/modules/caddyhttp/matchers.go index 23047d0..94d051e 100644 --- a/modules/caddyhttp/matchers.go +++ b/modules/caddyhttp/matchers.go @@ -418,7 +418,7 @@ func (m *MatchNegate) Provision(ctx caddy.Context) error { } m.matchers = append(m.matchers, val.(RequestMatcher)) } - m.matchersRaw = nil // allow GC to deallocate - TODO: Does this help? + m.matchersRaw = nil // allow GC to deallocate return nil } -- cgit v1.2.3