From: Mike Jerris Date: Mon, 26 Jun 2017 19:17:17 +0000 (-0500) Subject: FS-10405: fix typo in timer destroy check X-Git-Tag: v1.6.19~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a71d79e97ece76f03279debc588d44cb0193538;p=thirdparty%2Ffreeswitch.git FS-10405: fix typo in timer destroy check --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 6a019ab948..3adc72d1d6 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -4920,7 +4920,7 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session) switch_core_timer_destroy(&(*rtp_session)->timer); } - if ((*rtp_session)->timer.timer_interface) { + if ((*rtp_session)->write_timer.timer_interface) { switch_core_timer_destroy(&(*rtp_session)->write_timer); }