diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_openssl.c b/src/nxt_openssl.c index 66f0ad32..c5f33504 100644 --- a/src/nxt_openssl.c +++ b/src/nxt_openssl.c @@ -256,7 +256,7 @@ nxt_openssl_conn_init(nxt_task_t *task, nxt_ssltls_conf_t *conf, nxt_conn_t *c) nxt_log_debug(c->socket.log, "openssl conn init"); - ssltls = nxt_mem_zalloc(c->mem_pool, sizeof(nxt_openssl_conn_t)); + ssltls = nxt_mp_zget(c->mem_pool, sizeof(nxt_openssl_conn_t)); if (ssltls == NULL) { goto fail; } |