Merge pull request #1765 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11957 to master

* commit '6a036e661c6d78c7f98388ff445a7df93fd286e3':
  FS-11957: destroy NACK table on SWITCH_RTP_FLAG_KILL_JB too
This commit is contained in:
Mike Jerris 2019-07-25 12:53:51 -05:00
commit 3d53f7861e

View File

@ -6347,6 +6347,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) {