[asterisk-commits] mmichelson: branch 1.6.1 r173395 - in /branches/1.6.1: ./ apps/app_chanspy.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 4 11:42:41 CST 2009


Author: mmichelson
Date: Wed Feb  4 11:42:41 2009
New Revision: 173395

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=173395
Log:
Merged revisions 173393 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r173393 | mmichelson | 2009-02-04 11:41:02 -0600 (Wed, 04 Feb 2009) | 11 lines

Merged revisions 173392 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r173392 | mmichelson | 2009-02-04 11:40:29 -0600 (Wed, 04 Feb 2009) | 3 lines

Add a missing unlock. Extremely unlikely to ever matter, but it's needed.


........

................

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/apps/app_chanspy.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/apps/app_chanspy.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.1/apps/app_chanspy.c?view=diff&rev=173395&r1=173394&r2=173395
==============================================================================
--- branches/1.6.1/apps/app_chanspy.c (original)
+++ branches/1.6.1/apps/app_chanspy.c Wed Feb  4 11:42:41 2009
@@ -340,8 +340,10 @@
 	}
 	ast_mutex_unlock(&spyee_chanspy_ds->lock);
 
-	if (!spyee)
+	if (!spyee) {
+		ast_channel_unlock(spyee);
 		return 0;
+	}
 
 	/* We now hold the channel lock on spyee */
 




More information about the asterisk-commits mailing list