Changeset 4176 for pjproject


Ignore:
Timestamp:
Jun 23, 2012 3:06:52 AM (12 years ago)
Author:
nanang
Message:

Re #1526: r4175 missed PJSUA_UNLOCK() on some failure cases in pjsua_call_answer2().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r4175 r4176  
    20102010        if (status == PJ_SUCCESS) { 
    20112011            status = on_answer_call_med_tp_complete(call->index, NULL); 
    2012             if (status != PJ_SUCCESS) 
     2012            if (status != PJ_SUCCESS) { 
     2013                PJSUA_UNLOCK(); 
    20132014                goto on_return; 
     2015            } 
    20142016        } else if (status != PJ_EPENDING) { 
     2017            PJSUA_UNLOCK(); 
    20152018            pjsua_perror(THIS_FILE, "Error initializing media channel", status); 
    20162019            goto on_return; 
Note: See TracChangeset for help on using the changeset viewer.