]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10383 [freeswitch-core] Destroy RTP session write timer
authorRoman Sukhov <romsuhov@ringme.ru>
Fri, 9 Jun 2017 22:05:54 +0000 (01:05 +0300)
committerRoman Sukhov <romsuhov@ringme.ru>
Fri, 9 Jun 2017 22:05:54 +0000 (01:05 +0300)
src/switch_rtp.c

index 278df518c366fbe25449a6f30ae2a084965b9992..9c8cbf5f74a665b11500e7a91b18d1d312037c99 100644 (file)
@@ -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);