X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=da99a1374688befd36a859807862a25d7043a825;hp=0949d9fdc23eb5517695a10c352eabce9a66bf7b;hb=6f7469f54744656f90ce215f365d5731e16acd3c;hpb=2b3e9ff467d99fe02852cfcc46181c4d29dea99b diff --git a/notmuch-reply.c b/notmuch-reply.c index 0949d9fd..da99a137 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -755,7 +755,7 @@ notmuch_reply_command (void *ctx, int argc, char *argv[]) return 1; notmuch_query_destroy (query); - notmuch_database_close (notmuch); + notmuch_database_destroy (notmuch); if (params.cryptoctx) g_object_unref(params.cryptoctx);