aboutsummaryrefslogtreecommitdiffstats
path: root/main/dial.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-20 18:01:36 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-20 18:01:36 +0000
commite1c50566afb7f419b64b48296fb455cde1047c3f (patch)
treebf7a89c97c8e73b40de43e46590a2697bd24c4c2 /main/dial.c
parent10764cd3db17f7b54446addf19301707517b8a2f (diff)
Add missing unlock
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110272 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/dial.c')
-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;