Changeset 5816 for pjproject


Ignore:
Timestamp:
Jul 3, 2018 3:13:28 AM (6 years ago)
Author:
ming
Message:

Fixed #2125: Crash when hanging up call if call invite hasn't been created

File:
1 edited

Legend:

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

    r5805 r5816  
    24442444                             "of media transport", call_id)); 
    24452445 
    2446         if (call->inv->role == PJSIP_ROLE_UAS) 
     2446        if (call->inv && call->inv->role == PJSIP_ROLE_UAS) 
    24472447            call->async_call.call_var.inc_call.hangup = PJ_TRUE; 
    24482448        else 
Note: See TracChangeset for help on using the changeset viewer.