From f7767f2e237a329f34c0da0390ceb997e672d854 Mon Sep 17 00:00:00 2001 From: Matt O'Gorman Date: Mon, 8 Jan 2007 21:11:16 +0000 Subject: [PATCH] we can't unlock a channel if we cant find it. - AnthonyL bug #8741 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50073 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_senddtmf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/app_senddtmf.c b/apps/app_senddtmf.c index 96893e22e3..e48ba4fe06 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) {