config: make dupped nil for GC reasons
This commit is contained in:
parent
50095612a2
commit
596e0f7f13
|
@ -159,6 +159,8 @@ func (c *Config) Validate() error {
|
||||||
|
|
||||||
resources[r.Id()] = r
|
resources[r.Id()] = r
|
||||||
}
|
}
|
||||||
|
dupped = nil
|
||||||
|
|
||||||
for source, vs := range vars {
|
for source, vs := range vars {
|
||||||
for _, v := range vs {
|
for _, v := range vs {
|
||||||
rv, ok := v.(*ResourceVariable)
|
rv, ok := v.(*ResourceVariable)
|
||||||
|
|
Loading…
Reference in New Issue