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()