From f1625d27f55264f734608152dd0e0b4c159ef20f Mon Sep 17 00:00:00 2001 From: saxon Date: Sun, 17 Feb 2019 13:11:17 +1030 Subject: [PATCH] revid: fixed destination slice bug --- revid/revid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revid/revid.go b/revid/revid.go index fa594566..e65d3b51 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -213,7 +213,7 @@ func (r *Revid) reset(config Config) error { } } - r.destination = make([]loadSender, len(r.config.Outputs)) + r.destination = make([]loadSender, 0, len(r.config.Outputs)) for _, typ := range r.config.Outputs { switch typ { case File: