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.8.0~433 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1237ffef4ed88decede71a85b4cdb6969b45a6c;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 a73a9c87d0..760b9122e6 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -4918,7 +4918,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); }