From: Matt O'Gorman Date: Mon, 8 Jan 2007 21:11:16 +0000 (+0000) Subject: we can't unlock a channel if we cant find it. - AnthonyL bug #8741 X-Git-Tag: 1.4.1~307 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7767f2e237a329f34c0da0390ceb997e672d854;p=thirdparty%2Fasterisk.git 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 --- 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) {