summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_cert.c
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2022-02-14 20:14:03 +0800
committerZhidao HONG <z.hong@f5.com>2022-02-14 20:14:03 +0800
commit4fcfb9d5fb2b1bfbb3bd87a8617d293cbf2f4ddf (patch)
treebc01cc0f895f5a85c6c96293e848ca2fac4ec69f /src/nxt_cert.c
parentbf6282b16ca192ace20b35711ed9b8a8014e63d4 (diff)
downloadunit-4fcfb9d5fb2b1bfbb3bd87a8617d293cbf2f4ddf.tar.gz
unit-4fcfb9d5fb2b1bfbb3bd87a8617d293cbf2f4ddf.tar.bz2
Certificates: fixed crash when reallocating chain.
Diffstat (limited to 'src/nxt_cert.c')
-rw-r--r--src/nxt_cert.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nxt_cert.c b/src/nxt_cert.c
index 01d413e0..4a1f1496 100644
--- a/src/nxt_cert.c
+++ b/src/nxt_cert.c
@@ -241,7 +241,6 @@ nxt_cert_bio(nxt_task_t *task, BIO *bio)
goto fail;
}
- nxt_free(cert);
cert = new_cert;
}