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
This commit is contained in:
Matt O'Gorman
2007-01-08 21:11:16 +00:00
parent 46700b62af
commit f7767f2e23

View 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) {