From: Dragos Oancea Date: Thu, 25 Jul 2019 16:01:59 +0000 (+0000) Subject: FS-11957: destroy NACK table on SWITCH_RTP_FLAG_KILL_JB too X-Git-Tag: v1.10.0~47^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a036e661c6d78c7f98388ff445a7df93fd286e3;p=thirdparty%2Ffreeswitch.git FS-11957: destroy NACK table on SWITCH_RTP_FLAG_KILL_JB too --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index cd65160646..26a8875869 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -6340,6 +6340,11 @@ static switch_status_t read_rtp_packet(switch_rtp_t *rtp_session, switch_size_t if (rtp_session->vb) { switch_jb_destroy(&rtp_session->vb); } + + if (rtp_session->vbw) { + switch_jb_destroy(&rtp_session->vbw); + } + } if (rtp_session->has_rtp && *bytes) {