1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-25 04:01:55 +00:00

fix NULL deref in err condition

This commit is contained in:
Anthony Minessale 2010-05-04 15:48:36 -05:00
parent 44a99f14b0
commit ba46088e68

@ -3778,8 +3778,9 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
if (nsession) {
switch_core_session_destroy(&nsession);
}
*pool = NULL;
if (pool) {
*pool = NULL;
}
done:
if (profile) {