mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
QUIC: fixed double memzero of new frames in ngx_quic_alloc_frame().
This commit is contained in:
parent
b0bffa2bbb
commit
e1c2a97b92
@ -39,7 +39,7 @@ ngx_quic_alloc_frame(ngx_connection_t *c)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
frame = ngx_pcalloc(c->pool, sizeof(ngx_quic_frame_t));
|
frame = ngx_palloc(c->pool, sizeof(ngx_quic_frame_t));
|
||||||
if (frame == NULL) {
|
if (frame == NULL) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user