mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 16:39:14 +00:00
fix null pointer deref code path
This commit is contained in:
parent
710290bcb4
commit
a5f7461ee2
@ -943,7 +943,10 @@ switch_call_cause_t channel_outgoing_channel(switch_core_session_t *session, swi
|
|||||||
if (nsession) {
|
if (nsession) {
|
||||||
switch_core_session_destroy(&nsession);
|
switch_core_session_destroy(&nsession);
|
||||||
}
|
}
|
||||||
*pool = NULL;
|
|
||||||
|
if (pool) {
|
||||||
|
*pool = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user