Close test upstream

This commit is contained in:
Andrey Meshkov 2018-11-06 00:52:27 +03:00
parent 451922b858
commit 2e879896ff
1 changed files with 1 additions and 0 deletions

View File

@ -218,6 +218,7 @@ func checkDNS(input string) error {
if err != nil { if err != nil {
return err return err
} }
defer u.Close()
alive, err := upstream.IsAlive(u) alive, err := upstream.IsAlive(u)