Merged revisions 173396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r173396 | mmichelson | 2009-02-04 11:44:48 -0600 (Wed, 04 Feb 2009) | 3 lines Revert my previous change because it was stupid ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@173397 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
009cddba58
commit
62bbaefff9
|
@ -456,10 +456,8 @@ static int channel_spy(struct ast_channel *chan, struct chanspy_ds *spyee_chansp
|
|||
}
|
||||
ast_mutex_unlock(&spyee_chanspy_ds->lock);
|
||||
|
||||
if (!spyee) {
|
||||
ast_channel_unlock(spyee);
|
||||
if (!spyee)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* We now hold the channel lock on spyee */
|
||||
|
||||
|
|
Reference in New Issue