X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-search.c;h=7dfd270e2019c651d6738a04e2cca7766a92bff7;hb=0ff54ab712c24263a1dd66ffd2b4266371f24830;hp=1cc843075ec53b9d2ac0e973448c85422121adde;hpb=fd62a25f91c6ecdd6d60c86b4439321b8e84b309;p=notmuch diff --git a/notmuch-search.c b/notmuch-search.c index 1cc84307..7dfd270e 100644 --- a/notmuch-search.c +++ b/notmuch-search.c @@ -545,7 +545,7 @@ notmuch_search_command (void *ctx, int argc, char *argv[]) } notmuch_query_destroy (query); - notmuch_database_close (notmuch); + notmuch_database_destroy (notmuch); return ret; }