Certificates: fixed crash when reallocating chain.

This commit is contained in:
Zhidao HONG
2022-02-14 20:14:03 +08:00
parent bf6282b16c
commit 4fcfb9d5fb
2 changed files with 7 additions and 1 deletions

View File

@@ -241,7 +241,6 @@ nxt_cert_bio(nxt_task_t *task, BIO *bio)
goto fail;
}
nxt_free(cert);
cert = new_cert;
}