From 36a60bdcaf58bb74196f4d7d25a75a510fc74a3b Mon Sep 17 00:00:00 2001 From: Roman Sukhov Date: Sat, 10 Jun 2017 01:05:54 +0300 Subject: [PATCH] FS-10383 [freeswitch-core] Destroy RTP session write timer --- src/switch_rtp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 092684f90f..d48d455445 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);