1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-19 17:57:22 +00:00

fix null pointer deref code path

This commit is contained in:
Anthony Minessale 2010-05-05 11:01:32 -05:00
parent 710290bcb4
commit a5f7461ee2

@ -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: