Ignore:
Timestamp:
Oct 8, 2013 11:15:22 AM (11 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/vid_codec.c

    r4008 r4616  
    723723    /* Update codec default param */ 
    724724    p->param = pjmedia_vid_codec_param_clone(pool, param); 
    725     if (!p->param) 
     725    if (!p->param) { 
     726        pj_mutex_unlock(mgr->mutex); 
    726727        return PJ_EINVAL; 
     728    } 
    727729 
    728730    codec_desc->def_param = p; 
Note: See TracChangeset for help on using the changeset viewer.