diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-28 18:48:56 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-28 18:48:56 +0000 |
commit | a9296071c7d109d35f294040985492aaa79e4933 (patch) | |
tree | d8a29c574b754bce4cd0f2fe25adc5c66283c669 | |
parent | c0d99c36f8f0e4876d53f06952a41c6b36e8b7c2 (diff) |
Add missing lock to local_indicate function for connected line frames.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197701 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_local.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index 7e7ef3c4e..6f910931e 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -416,6 +416,7 @@ static int local_indicate(struct ast_channel *ast, int condition, const void *da * we need to transmit the collected connected line information instead of whatever * happens to be in this control frame. The same applies for redirecting information, which * is why it is handled here as well.*/ + ast_mutex_lock(&p->lock); isoutbound = IS_OUTBOUND(ast, p); if (isoutbound) { this_channel = p->chan; |