X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-reply.c;h=da99a1374688befd36a859807862a25d7043a825;hb=3ac72151c2e5ef9209fa5d5b0b03bf85bafb3503;hp=0949d9fdc23eb5517695a10c352eabce9a66bf7b;hpb=4ba18958b5fed52598044286e87ebb3f291e4277;p=notmuch 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);