mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_rtc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user