about summary refs log tree commit diff stats
path: root/worker/notmuch/lib/database.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/notmuch/lib/database.go')
-rw-r--r--worker/notmuch/lib/database.go1
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)