Changeset 4988


Ignore:
Timestamp:
Mar 3, 2015 4:29:54 AM (6 years ago)
Author:
ming
Message:

Re #1818: Fixed destruction of locked mutex in sip transport

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport.c

    r4865 r4988  
    11141114 
    11151115    pj_lock_release(mgr->lock); 
     1116    pj_lock_release(tp->lock); 
    11161117 
    11171118    /* Destroy. */ 
     
    11381139    /* Do nothing if transport is being shutdown already */ 
    11391140    if (tp->is_shutdown) { 
     1141        pj_lock_release(mgr->lock); 
    11401142        pj_lock_release(tp->lock); 
    1141         pj_lock_release(mgr->lock); 
    11421143        return PJ_SUCCESS; 
    11431144    } 
     
    11681169    } 
    11691170 
     1171    pj_lock_release(mgr->lock); 
    11701172    pj_lock_release(tp->lock); 
    1171     pj_lock_release(mgr->lock); 
    11721173 
    11731174    return status; 
Note: See TracChangeset for help on using the changeset viewer.