From 6654c970e6400e3d97344a8c982770a36e6f78ba Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Thu, 24 Sep 2020 21:24:44 +0200 Subject: notmuch: close tag object --- worker/notmuch/lib/database.go | 1 + 1 file changed, 1 insertion(+) (limited to 'worker') diff --git a/worker/notmuch/lib/database.go b/worker/notmuch/lib/database.go index cdedcb9..ea6af93 100644 --- a/worker/notmuch/lib/database.go +++ b/worker/notmuch/lib/database.go @@ -91,6 +91,7 @@ func (db *DB) ListTags() ([]string, error) { if err != nil { return err } + defer tags.Close() var tag *notmuch.Tag for tags.Next(&tag) { result = append(result, tag.Value) -- cgit 1.4.1-2-gfad0