aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-tag.c')
-rw-r--r--notmuch-tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-tag.c b/notmuch-tag.c
index 05feed3e..bd56fd14 100644
--- a/notmuch-tag.c
+++ b/notmuch-tag.c
@@ -238,7 +238,7 @@ notmuch_tag_command (void *ctx, int argc, char *argv[])
ret = tag_query (ctx, notmuch, query_string, tag_ops, synchronize_flags);
- notmuch_database_close (notmuch);
+ notmuch_database_destroy (notmuch);
return ret;
}