[asterisk-commits] mogorman: branch 1.4 r50073 - /branches/1.4/apps/app_senddtmf.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jan 8 14:11:16 MST 2007


Author: mogorman
Date: Mon Jan  8 15:11:16 2007
New Revision: 50073

URL: http://svn.digium.com/view/asterisk?view=rev&rev=50073
Log:
we can't unlock a channel if we cant find it. - AnthonyL

Modified:
    branches/1.4/apps/app_senddtmf.c

Modified: branches/1.4/apps/app_senddtmf.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_senddtmf.c?view=diff&rev=50073&r1=50072&r2=50073
==============================================================================
--- branches/1.4/apps/app_senddtmf.c (original)
+++ branches/1.4/apps/app_senddtmf.c Mon Jan  8 15:11:16 2007
@@ -102,7 +102,6 @@
 	
 	if (!chan) {
 		astman_send_error(s, m, "Channel not specified");
-		ast_mutex_unlock(&chan->lock);
 		return 0;
 	}
 	if (!digit) {



More information about the asterisk-commits mailing list