From: Roman Sukhov Date: Fri, 9 Jun 2017 22:05:54 +0000 (+0300) Subject: FS-10383 [freeswitch-core] Destroy RTP session write timer X-Git-Tag: v1.8.0~452^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=feccf1e87465194e34f14f127bfaffdcc50622b2;p=thirdparty%2Ffreeswitch.git FS-10383 [freeswitch-core] Destroy RTP session write timer --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 278df518c3..9c8cbf5f74 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -4913,6 +4913,7 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session) #endif if ((*rtp_session)->timer.timer_interface) { switch_core_timer_destroy(&(*rtp_session)->timer); + switch_core_timer_destroy(&(*rtp_session)->write_timer); } switch_rtp_release_port((*rtp_session)->rx_host, (*rtp_session)->rx_port);