diff options
Diffstat (limited to 'src/nxt_cyassl.c')
-rw-r--r-- | src/nxt_cyassl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_cyassl.c b/src/nxt_cyassl.c index 404b89fe..3d487183 100644 --- a/src/nxt_cyassl.c +++ b/src/nxt_cyassl.c @@ -182,7 +182,7 @@ nxt_cyassl_conn_init(nxt_thread_t *thr, nxt_ssltls_conf_t *conf, nxt_log_debug(c->socket.log, "cyassl conn init"); - ssltls = nxt_mem_zalloc(c->mem_pool, sizeof(nxt_cyassl_conn_t)); + ssltls = nxt_mp_zget(c->mem_pool, sizeof(nxt_cyassl_conn_t)); if (ssltls == NULL) { goto fail; } |