diff options
author | Reto Brunner <reto@labrat.space> | 2020-09-24 21:24:44 +0200 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2020-09-24 21:24:44 +0200 |
commit | 6654c970e6400e3d97344a8c982770a36e6f78ba (patch) | |
tree | 40665dcb09a21bbeb854503affa5fc0f350a8e92 /worker | |
parent | 42ce6b41ff7ff56f89de25e4807ab30c6eef4662 (diff) | |
download | aerc-6654c970e6400e3d97344a8c982770a36e6f78ba.tar.gz |
notmuch: close tag object
Diffstat (limited to 'worker')
-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) |