mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
Fix crash caused by merge error on review 4138
When merging from 12 to 13 there were conflicts, I mistakenly had the loop run ast_closestream(others[0]) when it should be ast_closestream(others[x]). git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@427181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1793,7 +1793,7 @@ static int __ast_play_and_record(struct ast_channel *chan, const char *playfile,
|
||||
break;
|
||||
}
|
||||
if (!realfiles[x]) {
|
||||
ast_closestream(others[0]);
|
||||
ast_closestream(others[x]);
|
||||
continue;
|
||||
}
|
||||
/*!\note Same logic as above. */
|
||||
|
Reference in New Issue
Block a user