mirror of
https://github.com/nginx/nginx.git
synced 2026-08-30 06:58:42 +00:00
QUIC: fixed double memzero of new frames in ngx_quic_alloc_frame().
This commit is contained in:
parent
b0bffa2bbb
commit
e1c2a97b92
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…
Add table
Add a link
Reference in a new issue