Add missing unlock
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110272 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
10764cd3db
commit
e1c50566af
|
@ -317,6 +317,7 @@ static int begin_dial(struct ast_dial *dial, struct ast_channel *chan)
|
|||
AST_LIST_TRAVERSE(&dial->channels, channel, list) {
|
||||
success += begin_dial_channel(channel, chan);
|
||||
}
|
||||
AST_LIST_UNLOCK(&dial->channels);
|
||||
|
||||
/* If number of failures matches the number of channels, then this truly failed */
|
||||
return success;
|
||||
|
|
Reference in New Issue