From 12a1c0f435a7bd74bcd48d46007d08570797c224 Mon Sep 17 00:00:00 2001 From: mattn Date: Fri, 14 Nov 2014 02:21:49 +0900 Subject: [PATCH] rows.Close() --- sqlite3.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sqlite3.go b/sqlite3.go index 257d64f..abfc2fe 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -210,6 +210,7 @@ func (c *SQLiteConn) Query(query string, args []driver.Value) (driver.Rows, erro if tail == "" { return rows, nil } + rows.Close() s.Close() query = tail }