From ab3174f543b51b8e81a7770d470a0be8e4821885 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 22 May 2023 21:39:55 +0400 Subject: [PATCH] Added closing of stmtCategoryGetAll. --- pkg/mindflow/database/sqlite/db.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/mindflow/database/sqlite/db.go b/pkg/mindflow/database/sqlite/db.go index 1f24704..61ae632 100644 --- a/pkg/mindflow/database/sqlite/db.go +++ b/pkg/mindflow/database/sqlite/db.go @@ -290,6 +290,7 @@ func (s *SQLiteMindflow) DeleteCategory(id int64) (err error) { func (s *SQLiteMindflow) Close() error { stmtCategoryById.Close() + stmtCategoryGetAll.Close() stmtCategoryNew.Close() stmtCategoryDelete.Close() stmtPostDelete.Close()