Merged revisions 331420 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10 ........ r331420 | rmudgett | 2011-08-10 14:07:53 -0500 (Wed, 10 Aug 2011) | 2 lines Make sure feature_request_and_dial() initializes outstate if passed in. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@331421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
02ecb12f64
commit
fa794d8f7a
|
@ -3012,6 +3012,9 @@ static struct ast_channel *feature_request_and_dial(struct ast_channel *caller,
|
|||
|
||||
tmp_cap = ast_format_cap_alloc_nolock();
|
||||
if (!tmp_cap) {
|
||||
if (outstate) {
|
||||
*outstate = 0;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
ast_best_codec(cap, &best_audio_fmt);
|
||||
|
|
Loading…
Reference in New Issue