mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-06 12:21:49 +00:00
fix null pointer deref code path
This commit is contained in:
@@ -943,7 +943,10 @@ switch_call_cause_t channel_outgoing_channel(switch_core_session_t *session, swi
|
||||
if (nsession) {
|
||||
switch_core_session_destroy(&nsession);
|
||||
}
|
||||
*pool = NULL;
|
||||
|
||||
if (pool) {
|
||||
*pool = NULL;
|
||||
}
|
||||
|
||||
|
||||
done:
|
||||
|
||||
Reference in New Issue
Block a user