QUIC: fixed double memzero of new frames in ngx_quic_alloc_frame().

This commit is contained in:
Sergey Kandaurov 2021-06-21 12:47:46 +03:00
parent 3090dcd82d
commit d674a2345d

View file

@ -39,7 +39,7 @@ ngx_quic_alloc_frame(ngx_connection_t *c)
#endif
} else {
frame = ngx_pcalloc(c->pool, sizeof(ngx_quic_frame_t));
frame = ngx_palloc(c->pool, sizeof(ngx_quic_frame_t));
if (frame == NULL) {
return NULL;
}