[asterisk-commits] anthonyl: branch anthonyl/8741 r49672 - /team/anthonyl/8741/apps/app_senddtmf.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jan 5 15:01:48 MST 2007


Author: anthonyl
Date: Fri Jan  5 16:01:47 2007
New Revision: 49672

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

Modified:
    team/anthonyl/8741/apps/app_senddtmf.c

Modified: team/anthonyl/8741/apps/app_senddtmf.c
URL: http://svn.digium.com/view/asterisk/team/anthonyl/8741/apps/app_senddtmf.c?view=diff&rev=49672&r1=49671&r2=49672
==============================================================================
--- team/anthonyl/8741/apps/app_senddtmf.c (original)
+++ team/anthonyl/8741/apps/app_senddtmf.c Fri Jan  5 16:01:47 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