fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9044 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
52126c2b31
commit
ac1119e64b
|
@ -1401,7 +1401,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
|||
switch_buffer_destroy(&ringback.audio_buffer);
|
||||
}
|
||||
|
||||
switch_core_session_reset(session, SWITCH_FALSE);
|
||||
if (session) {
|
||||
switch_core_session_reset(session, SWITCH_FALSE);
|
||||
}
|
||||
|
||||
if (write_codec.implementation) {
|
||||
switch_core_codec_destroy(&write_codec);
|
||||
|
|
Loading…
Reference in New Issue