mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Release 2.3.1
- [BUGFIX] Fix memory leaks - [BUGFIX] Fix unit tests
This commit is contained in:
parent
cca2541523
commit
a6cdaedba5
7 changed files with 20 additions and 12 deletions
|
@ -1030,6 +1030,7 @@ lsquic_bbr_cleanup (void *cong_ctl)
|
|||
{
|
||||
struct lsquic_bbr *const bbr = cong_ctl;
|
||||
|
||||
lsquic_bw_sampler_cleanup(&bbr->bbr_bw_sampler);
|
||||
LSQ_DEBUG("cleanup");
|
||||
}
|
||||
|
||||
|
|
|
@ -1224,6 +1224,7 @@ lsquic_send_ctl_cleanup (lsquic_send_ctl_t *ctl)
|
|||
}
|
||||
if (ctl->sc_flags & SC_PACE)
|
||||
pacer_cleanup(&ctl->sc_pacer);
|
||||
ctl->sc_ci->cci_cleanup(CGP(ctl));
|
||||
#if LSQUIC_SEND_STATS
|
||||
LSQ_NOTICE("stats: n_total_sent: %u; n_resent: %u; n_delayed: %u",
|
||||
ctl->sc_stats.n_total_sent, ctl->sc_stats.n_resent,
|
||||
|
|
|
@ -599,6 +599,7 @@ lsquic_stream_destroy (lsquic_stream_t *stream)
|
|||
stream_hq_frame_put(stream, shf);
|
||||
destroy_uh(stream);
|
||||
free(stream->sm_buf);
|
||||
free(stream->sm_header_block);
|
||||
LSQ_DEBUG("destroyed stream");
|
||||
SM_HISTORY_DUMP_REMAINING(stream);
|
||||
free(stream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue