X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-count.c;h=9c2ad7b2a9226bb8ee616779d88cde69171ac704;hb=3ac72151c2e5ef9209fa5d5b0b03bf85bafb3503;hp=b76690c0d5eb776096c481f2aff6d9fd62a3e728;hpb=785c1e497f05cb89365669fea33cfbf9078a4b12;p=notmuch 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; }