[asterisk-bugs] [Asterisk 0019176]: [patch] check_bridge(): misplaced ast_mutex_unlock

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Apr 25 02:01:31 CDT 2011


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19176 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19176
Category:                   Channels/chan_local
Reproducibility:            N/A
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-04-25 02:00 CDT
Last Modified:              2011-04-25 02:01 CDT
====================================================================== 
Summary:                    [patch] check_bridge(): misplaced ast_mutex_unlock
Description: 
<pre>
if (!ast_mutex_trylock(&(p->chan->_bridge)->lock)) {
  if (!p->chan->_bridge->_softhangup) {
    ....
    ast_mutex_unlock(&(p->chan->_bridge)->lock); <b><u> <<< WHAT </u></b>
  }
}</pre>
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-25 02:01 alecdavis      Summary                  check_bridge():
misplaced ast_mutex_unlock => [patch] check_bridge(): misplaced ast_mutex_unlock
======================================================================




More information about the asterisk-bugs mailing list