mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 17:02:23 +00:00
fix NULL deref in err condition
This commit is contained in:
parent
44a99f14b0
commit
ba46088e68
@ -3778,8 +3778,9 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
|
|||||||
if (nsession) {
|
if (nsession) {
|
||||||
switch_core_session_destroy(&nsession);
|
switch_core_session_destroy(&nsession);
|
||||||
}
|
}
|
||||||
*pool = NULL;
|
if (pool) {
|
||||||
|
*pool = NULL;
|
||||||
|
}
|
||||||
done:
|
done:
|
||||||
|
|
||||||
if (profile) {
|
if (profile) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user