index
:
keep
main
Discord self-bot which caches and archives URLs at the Internet Archive
Jordan
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
db.go
1
1 files changed, 1 insertions, 0 deletions
diff --git a/db.go b/db.go
index ddac17e..8397d60 100644
--- a/
db.go
+++ b/
db.go
@@ -46,6 +46,7 @@ func initTables(db *sql.DB) {
if err != nil {
log.Fatal(err)
}
+ defer s.Close()
s.Exec()
}