[svn-commits] mmichelson: branch 1.6.0 r173394 - in /branches/1.6.0: ./ apps/app_chanspy.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 4 11:42:01 CST 2009


Author: mmichelson
Date: Wed Feb  4 11:42:01 2009
New Revision: 173394

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=173394
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.0/   (props changed)
    branches/1.6.0/apps/app_chanspy.c

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

Modified: branches/1.6.0/apps/app_chanspy.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.0/apps/app_chanspy.c?view=diff&rev=173394&r1=173393&r2=173394
==============================================================================
--- branches/1.6.0/apps/app_chanspy.c (original)
+++ branches/1.6.0/apps/app_chanspy.c Wed Feb  4 11:42:01 2009
@@ -274,8 +274,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 svn-commits mailing list