diff options
Diffstat (limited to 'src/nxt_gnutls.c')
-rw-r--r-- | src/nxt_gnutls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_gnutls.c b/src/nxt_gnutls.c index 15db7fc8..2db43d4a 100644 --- a/src/nxt_gnutls.c +++ b/src/nxt_gnutls.c @@ -262,7 +262,7 @@ nxt_gnutls_conn_init(nxt_thread_t *thr, nxt_ssltls_conf_t *conf, nxt_log_debug(c->socket.log, "gnutls conn init"); - ssltls = nxt_mem_zalloc(c->mem_pool, sizeof(nxt_gnutls_conn_t)); + ssltls = nxt_mp_zget(c->mem_pool, sizeof(nxt_gnutls_conn_t)); if (ssltls == NULL) { goto fail; } |