mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-07 12:51:51 +00:00
FS-10405: fix typo in timer destroy check
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user