mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Add a missing unlock. Extremely unlikely to ever matter, but it's needed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@173392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -252,8 +252,10 @@ static int channel_spy(struct ast_channel *chan, struct chanspy_ds *spyee_chansp | ||||
| 	} | ||||
| 	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 */ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user