[asterisk-commits] dvossel: branch 1.6.2 r320506 - /branches/1.6.2/apps/app_chanspy.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 23 09:46:22 CDT 2011


Author: dvossel
Date: Mon May 23 09:46:17 2011
New Revision: 320506

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=320506
Log:
Fixes chanspy enforced mode lacking a channel_unlock.

(closes issue #19348)
Reported by: wdoekes
Patches: 
      issue19348_chanspy_missing_channel_unlock.patch uploaded by wdoekes (license 717)


Modified:
    branches/1.6.2/apps/app_chanspy.c

Modified: branches/1.6.2/apps/app_chanspy.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_chanspy.c?view=diff&rev=320506&r1=320505&r2=320506
==============================================================================
--- branches/1.6.2/apps/app_chanspy.c (original)
+++ branches/1.6.2/apps/app_chanspy.c Mon May 23 09:46:17 2011
@@ -938,6 +938,7 @@
 			}
 
 			if (!ienf) {
+				ast_channel_unlock(peer);
 				continue;
 			}
 




More information about the asterisk-commits mailing list