Changeset 4102


Ignore:
Timestamp:
Apr 26, 2012 7:03:59 PM (7 years ago)
Author:
nanang
Message:

Fix #1497: reset call->inv to NULL whenever call is terminated prematurely (before completely attached to pjsua).

File:
1 edited

Legend:

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

    r4082 r4102  
    12741274 
    12751275        pjsua_media_channel_deinit(call->index); 
     1276        call->inv = NULL; 
    12761277 
    12771278        goto on_return; 
     
    13121313        } 
    13131314        pjsua_media_channel_deinit(call->index); 
     1315        call->inv = NULL; 
    13141316        goto on_return; 
    13151317 
     
    13191321            pjsua_perror(THIS_FILE, "Unable to send 100 response", status); 
    13201322            pjsua_media_channel_deinit(call->index); 
     1323            call->inv = NULL; 
    13211324            goto on_return; 
    13221325        } 
Note: See TracChangeset for help on using the changeset viewer.