Close file

This commit is contained in:
Yasuhiro Matsumoto 2016-08-11 18:51:38 +09:00
parent 5a7763c649
commit c3e9588849
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ func main() {
log.Fatal(err)
}
_, err = io.Copy(f, zr)
f.Close()
if err != nil {
log.Fatal(err)
}