Unlock the owner when we're done (duh!)
authorMark Spencer <markster@digium.com>
Tue, 23 Mar 2004 03:26:23 +0000 (03:26 +0000)
committerMark Spencer <markster@digium.com>
Tue, 23 Mar 2004 03:26:23 +0000 (03:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2530 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 404f32a..59490d8 100755 (executable)
@@ -4962,6 +4962,7 @@ retryowner2:
                                                                ast_set_write_format(iaxs[fr.callno]->owner, iaxs[fr.callno]->owner->writeformat);      
                                                        if (iaxs[fr.callno]->owner->readformat)
                                                                ast_set_read_format(iaxs[fr.callno]->owner, iaxs[fr.callno]->owner->readformat);        
+                                                       ast_mutex_unlock(&iaxs[fr.callno]->owner->lock);
                                                }
                                        }
                                }