From b1237ffef4ed88decede71a85b4cdb6969b45a6c Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Mon, 26 Jun 2017 14:17:17 -0500 Subject: [PATCH] FS-10405: fix typo in timer destroy check --- src/switch_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }