Ignore:
Timestamp:
Dec 17, 2008 2:28:18 PM (14 years ago)
Author:
bennylp
Message:

Ticket 684: protect the memory allocation for TX packet with try/catch, and fixed various transmit data buffer leaks when transmission fails immediately

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c

    r2371 r2380  
    28152815                    inv_set_state(inv, PJSIP_INV_STATE_EARLY, e); 
    28162816                break; 
     2817            case PJSIP_TSX_STATE_TERMINATED: 
     2818                /* there is a failure in sending response. */ 
     2819                inv_set_cause(inv, tsx->status_code, &tsx->status_text); 
     2820                inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); 
     2821                break; 
    28172822            default: 
    28182823                inv_on_state_incoming(inv, e); 
Note: See TracChangeset for help on using the changeset viewer.