]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reply.c
Use notmuch_database_destroy instead of notmuch_database_close
[notmuch] / notmuch-reply.c
index 0949d9fdc23eb5517695a10c352eabce9a66bf7b..da99a1374688befd36a859807862a25d7043a825 100644 (file)
@@ -755,7 +755,7 @@ notmuch_reply_command (void *ctx, int argc, char *argv[])
        return 1;
 
     notmuch_query_destroy (query);
        return 1;
 
     notmuch_query_destroy (query);
-    notmuch_database_close (notmuch);
+    notmuch_database_destroy (notmuch);
 
     if (params.cryptoctx)
        g_object_unref(params.cryptoctx);
 
     if (params.cryptoctx)
        g_object_unref(params.cryptoctx);