mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 00:30:20 +00:00
Add missing unlock
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -317,6 +317,7 @@ static int begin_dial(struct ast_dial *dial, struct ast_channel *chan)
|
|||||||
AST_LIST_TRAVERSE(&dial->channels, channel, list) {
|
AST_LIST_TRAVERSE(&dial->channels, channel, list) {
|
||||||
success += begin_dial_channel(channel, chan);
|
success += begin_dial_channel(channel, chan);
|
||||||
}
|
}
|
||||||
|
AST_LIST_UNLOCK(&dial->channels);
|
||||||
|
|
||||||
/* If number of failures matches the number of channels, then this truly failed */
|
/* If number of failures matches the number of channels, then this truly failed */
|
||||||
return success;
|
return success;
|
||||||
|
|||||||
Reference in New Issue
Block a user