FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_rtc

This commit is contained in:
Andrey Volk 2019-07-12 20:02:26 +04:00
parent 75a37ba42e
commit c474824aa9
1 changed files with 0 additions and 5 deletions

View File

@ -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;
}