mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-20 10:26:51 +00:00
FS-10405: fix typo in timer destroy check
This commit is contained in:
parent
9fb8a0c79d
commit
5a71d79e97
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user