[asterisk-commits] mmichelson: trunk r173393 - in /trunk: ./ apps/app_chanspy.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 4 11:41:03 CST 2009
Author: mmichelson
Date: Wed Feb 4 11:41:02 2009
New Revision: 173393
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=173393
Log:
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:
trunk/ (props changed)
trunk/apps/app_chanspy.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/apps/app_chanspy.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/apps/app_chanspy.c?view=diff&rev=173393&r1=173392&r2=173393
==============================================================================
--- trunk/apps/app_chanspy.c (original)
+++ trunk/apps/app_chanspy.c Wed Feb 4 11:41:02 2009
@@ -456,8 +456,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