change useless ngx_pcalloc() to ngx_pnalloc()

This commit is contained in:
Igor Sysoev
2008-06-23 12:27:03 +00:00
parent 96a1ea9d22
commit f2a1484347
2 changed files with 2 additions and 2 deletions

View File

@@ -528,7 +528,7 @@ ngx_mail_auth_http_process_headers(ngx_mail_session_t *s,
continue;
}
p = ngx_pcalloc(s->connection->pool, size);
p = ngx_pnalloc(s->connection->pool, size);
if (p == NULL) {
ngx_close_connection(ctx->peer.connection);
ngx_destroy_pool(ctx->pool);