From 596e0f7f1323ec97a0a968849e95310efb9bc017 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 18 Jul 2014 16:31:32 -0700 Subject: [PATCH] config: make dupped nil for GC reasons --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.go b/config/config.go index 07c9005e7..bcde29439 100644 --- a/config/config.go +++ b/config/config.go @@ -159,6 +159,8 @@ func (c *Config) Validate() error { resources[r.Id()] = r } + dupped = nil + for source, vs := range vars { for _, v := range vs { rv, ok := v.(*ResourceVariable)