aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_senddtmf.c
diff options
context:
space:
mode:
authormogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-08 21:11:16 +0000
committermogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-08 21:11:16 +0000
commitb32f31638215ea7dbb8c66d22ccf0035f1d8417e (patch)
treea40ae54076bce5c2ee3487fc3a098cb7732151c9 /apps/app_senddtmf.c
parentca7ba05068ee7d76db1b8d2bd1c5761dd0d94e9c (diff)
we can't unlock a channel if we cant find it. - AnthonyL bug #8741
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50073 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_senddtmf.c')
-rw-r--r--apps/app_senddtmf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/app_senddtmf.c b/apps/app_senddtmf.c
index 96893e22e..e48ba4fe0 100644
--- a/apps/app_senddtmf.c
+++ b/apps/app_senddtmf.c
@@ -102,7 +102,6 @@ static int manager_play_dtmf(struct mansession *s, const struct message *m)
if (!chan) {
astman_send_error(s, m, "Channel not specified");
- ast_mutex_unlock(&chan->lock);
return 0;
}
if (!digit) {