summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-03-20 18:01:36 +0000
committerMark Michelson <mmichelson@digium.com>2008-03-20 18:01:36 +0000
commitff9befa36a55468fe99960f67ef0196622c73a5b (patch)
treebf7a89c97c8e73b40de43e46590a2697bd24c4c2 /main
parentbccebdd21ff9d8dbe290e809513ae62e11335b0d (diff)
Add missing unlock
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/dial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/dial.c b/main/dial.c
index 95f709e68..ae6ea55fc 100644
--- a/main/dial.c
+++ b/main/dial.c
@@ -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;