diff options
Diffstat (limited to 'worker/notmuch/lib/database.go')
-rw-r--r-- | worker/notmuch/lib/database.go | 1 |
1 files changed, 1 insertions, 0 deletions
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) |