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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@187830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2009-04-10 18:56:52 +00:00
parent aaf1566222
commit 86d6af95ef

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);
}