dect
/
asterisk
Archived
13
0
Fork 0

Add missing unlock of local pvt.

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198511 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
mmichelson 2009-06-01 14:19:49 +00:00
parent 24cf2ce68b
commit c3001c1521
1 changed files with 2 additions and 0 deletions

View File

@ -438,6 +438,8 @@ static int local_indicate(struct ast_channel *ast, int condition, const void *da
if (!(res = local_queue_frame(p, isoutbound, &f, ast, 1))) {
ast_mutex_unlock(&p->lock);
}
} else {
ast_mutex_unlock(&p->lock);
}
} else {
/* Queue up a frame representing the indication as a control frame */