Release 2.3.1

- [BUGFIX] Fix memory leaks
- [BUGFIX] Fix unit tests
This commit is contained in:
Dmitri Tikhonov 2019-09-13 09:42:22 -04:00
parent cca2541523
commit a6cdaedba5
7 changed files with 20 additions and 12 deletions

View file

@ -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");
}

View file

@ -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,

View file

@ -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);