mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-28 13:39:08 +00:00
dont leak the xml structure if answer fails
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12624 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
e211789531
commit
09e73f807d
1 file changed
+2
-1
@@ -216,7 +216,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro(switch_core_session_t *s
|
||||
}
|
||||
|
||||
if (switch_channel_pre_answer(channel) != SWITCH_STATUS_SUCCESS) {
|
||||
return SWITCH_STATUS_FALSE;
|
||||
status = SWITCH_STATUS_FALSE;
|
||||
goto done;
|
||||
}
|
||||
|
||||
while (input && !done) {
|
||||
|
||||
Reference in new issue
Block a user