This commit is contained in:
shoopea 2019-05-03 19:24:32 +08:00
parent e2ac17665b
commit d54829cafb

5
sql.go
View File

@ -89,4 +89,9 @@ func putMsg(m ChatWarsMessage) {
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }
err = stmt.Close()
if err != nil {
log.Fatal(err)
}
} }