QUIC: fixed double memzero of new frames in ngx_quic_alloc_frame().
This commit is contained in:
parent
3090dcd82d
commit
d674a2345d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue