[asterisk-commits] mmichelson: branch 1.4 r173392 - /branches/1.4/apps/app_chanspy.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 4 11:40:29 CST 2009
Author: mmichelson
Date: Wed Feb 4 11:40:29 2009
New Revision: 173392
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=173392
Log:
Add a missing unlock. Extremely unlikely to ever matter, but it's needed.
Modified:
branches/1.4/apps/app_chanspy.c
Modified: branches/1.4/apps/app_chanspy.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/apps/app_chanspy.c?view=diff&rev=173392&r1=173391&r2=173392
==============================================================================
--- branches/1.4/apps/app_chanspy.c (original)
+++ branches/1.4/apps/app_chanspy.c Wed Feb 4 11:40:29 2009
@@ -252,8 +252,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