X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-tag.c;h=bd56fd14a4699b74f5567f6ac0e3d4284a49600e;hp=05feed3e97a461f7201ca0b2d0664cc5e3743586;hb=6f7469f54744656f90ce215f365d5731e16acd3c;hpb=2b3e9ff467d99fe02852cfcc46181c4d29dea99b 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; }