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

This commit is contained in:
Andrey Volk committed 2019-07-15 23:39:24 +04:00
1 parent 75a37ba42e
commit c474824aa9
1 file changed
-5
-5
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;
}