FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_rtc
This commit is contained in:
parent
75a37ba42e
commit
c474824aa9
|
@ -404,11 +404,6 @@ static switch_call_cause_t rtc_outgoing_channel(switch_core_session_t *session,
|
|||
goto done;
|
||||
|
||||
error:
|
||||
|
||||
if (nsession) {
|
||||
switch_core_session_destroy(&nsession);
|
||||
}
|
||||
|
||||
if (pool) {
|
||||
*pool = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue