]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-tag.c
Use notmuch_database_destroy instead of notmuch_database_close
[notmuch] / notmuch-tag.c
index 05feed3e97a461f7201ca0b2d0664cc5e3743586..bd56fd14a4699b74f5567f6ac0e3d4284a49600e 100644 (file)
@@ -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;
 }