Ignore:
Timestamp:
Jan 8, 2006 11:56:17 PM (18 years ago)
Author:
bennylp
Message:

Transaction only decrements tx_data in send_msg() if return status is PJ_SUCCESS

File:
1 edited

Legend:

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

    r110 r115  
    12271227     * (consistent with other send functions. 
    12281228     */ 
    1229     pjsip_tx_data_dec_ref(tdata); 
     1229    if (status == PJ_SUCCESS) { 
     1230        pjsip_tx_data_dec_ref(tdata); 
     1231    } 
    12301232 
    12311233    return status; 
Note: See TracChangeset for help on using the changeset viewer.