diff --git a/sqlite3.go b/sqlite3.go index 375cf79..cbde900 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -609,7 +609,6 @@ func (d *SQLiteDriver) Open(dsn string) (driver.Conn, error) { rv = C.sqlite3_busy_timeout(db, C.int(busyTimeout)) if rv != C.SQLITE_OK { - conn.Close() return nil, Error{Code: ErrNo(rv)} }