dect
/
asterisk
Archived
13
0
Fork 0

Indicating connected line or redirecting updates were missing a call to lock the local_pvt.

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@187830 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
mmichelson 2009-04-10 18:56:52 +00:00
parent 90e787d30c
commit 44dce428af
1 changed files with 1 additions and 0 deletions

View File

@ -433,6 +433,7 @@ static int local_indicate(struct ast_channel *ast, int condition, const void *da
}
f.subclass = condition;
f.data.ptr = frame_data;
ast_mutex_lock(&p->lock);
if (!(res = local_queue_frame(p, isoutbound, &f, ast, 1))) {
ast_mutex_unlock(&p->lock);
}