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