Changeset 095cd049a80bce98733be6ffc32ab1c46cd16a67

Show
Ignore:
Timestamp:
14/12/05 20:13:43 (3 years ago)
Author:
Clément Stenac <zorglub@videolan.org>
git-committer:
Clément Stenac <zorglub@videolan.org> 1134587623 +0000
git-parent:

[f6f0e8efc36608388f8ebcd7ece9fc4e764e534c]

git-author:
Clément Stenac <zorglub@videolan.org> 1134587623 +0000
Message:

Don't keep mutex locked if we bail out

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/interface/interaction.c

    rf6f0e8e r095cd04  
    467467    p_dialog  =  intf_InteractionGetById( p_this, i_id ); 
    468468 
    469     if( !p_dialog ) return; 
     469    if( !p_dialog ) 
     470    { 
     471       vlc_mutex_unlock( &p_interaction->object_lock ); 
     472       return; 
     473    } 
    470474 
    471475    p_dialog->i_status = ANSWERED_DIALOG;