Ignore:
Timestamp:
Oct 8, 2013 11:15:22 AM (9 years ago)
Author:
bennylp
Message:

Re #1703 General bug fixes: fixed mutex not released on some error condition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/codec.c

    r4254 r4616  
    637637    /* Update codec param */ 
    638638    p->param = pjmedia_codec_param_clone(pool, param); 
    639     if (!p->param) 
     639    if (!p->param) { 
     640        pj_mutex_unlock(mgr->mutex); 
    640641        return PJ_EINVAL; 
     642    } 
    641643 
    642644    pj_mutex_unlock(mgr->mutex); 
Note: See TracChangeset for help on using the changeset viewer.