diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/event/ngx_event_quic.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index 0f59f73ea..e1ab107b1 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -1779,8 +1779,7 @@ ngx_quic_close_quic(ngx_connection_t *c, ngx_int_t rc) /* drop packets from retransmit queues, no ack is expected */ for (i = 0; i < NGX_QUIC_SEND_CTX_LAST; i++) { - ctx = ngx_quic_get_send_ctx(qc, i); - ngx_quic_free_frames(c, &ctx->sent); + ngx_quic_free_frames(c, &qc->send_ctx[i].sent); } if (rc == NGX_DONE) { |