Ignore:
Timestamp:
Oct 16, 2006 9:07:19 PM (14 years ago)
Author:
bennylp
Message:

FIXED BUG: pjsip_endpt_send_request() SHOULD DELETE THE REQUEST REGARDLESS OF THE STATUS!!!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_util_statefull.c

    r448 r777  
    107107    PJ_TODO(IMPLEMENT_TIMEOUT_FOR_SEND_REQUEST); 
    108108 
    109     return pjsip_tsx_send_msg(tsx, NULL); 
     109    status = pjsip_tsx_send_msg(tsx, NULL); 
     110    if (status != PJ_SUCCESS) 
     111        pjsip_tx_data_dec_ref(tdata); 
     112 
     113    return status; 
    110114} 
    111115 
Note: See TracChangeset for help on using the changeset viewer.