mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-04 04:05:15 +00:00
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;
|
goto done;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
|
||||||
if (nsession) {
|
|
||||||
switch_core_session_destroy(&nsession);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (pool) {
|
if (pool) {
|
||||||
*pool = NULL;
|
*pool = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user