Merged revisions 50073 via svnmerge from
authorMatt O'Gorman <mogorman@digium.com>
Mon, 8 Jan 2007 21:17:51 +0000 (21:17 +0000)
committerMatt O'Gorman <mogorman@digium.com>
Mon, 8 Jan 2007 21:17:51 +0000 (21:17 +0000)
https://svn.digium.com/svn/asterisk/branches/1.4

........
r50073 | mogorman | 2007-01-08 15:11:16 -0600 (Mon, 08 Jan 2007) | 1 line

we can't unlock a channel if we cant find it. - AnthonyL bug #8741
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50074 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_senddtmf.c

index 96893e2..e48ba4f 100644 (file)
@@ -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) {