X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-count.c;h=9c2ad7b2a9226bb8ee616779d88cde69171ac704;hp=b76690c0d5eb776096c481f2aff6d9fd62a3e728;hb=6f7469f54744656f90ce215f365d5731e16acd3c;hpb=785c1e497f05cb89365669fea33cfbf9078a4b12 diff --git a/notmuch-count.c b/notmuch-count.c index b76690c0..9c2ad7b2 100644 --- a/notmuch-count.c +++ b/notmuch-count.c @@ -107,7 +107,7 @@ notmuch_count_command (void *ctx, int argc, char *argv[]) } notmuch_query_destroy (query); - notmuch_database_close (notmuch); + notmuch_database_destroy (notmuch); return 0; }