forked from mirror/go-sqlite3
Close file
This commit is contained in:
parent
5a7763c649
commit
c3e9588849
|
@ -69,6 +69,7 @@ func main() {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
_, err = io.Copy(f, zr)
|
_, err = io.Copy(f, zr)
|
||||||
|
f.Close()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue