Changeset 556


Ignore:
Timestamp:
Jun 27, 2006 12:15:56 PM (16 years ago)
Author:
bennylp
Message:

Fixed bug in transaction: ACK message is not deleted

File:
1 edited

Legend:

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

    r508 r556  
    23732373                pjsip_tx_data_dec_ref(tsx->last_tx); 
    23742374                tsx->last_tx = ack_tdata; 
     2375 
     2376                /* This is a bug. 
     2377                   tsx_send_msg() does NOT decrement tdata's reference counter, 
     2378                   so if we add the reference counter here, tdata will have 
     2379                   reference counter 2, causing it to leak. 
    23752380                pjsip_tx_data_add_ref(ack_tdata); 
     2381                */ 
    23762382            } 
    23772383 
Note: See TracChangeset for help on using the changeset viewer.