mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add missing unlock of local pvt.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user