Changeset 2594


Ignore:
Timestamp:
Apr 14, 2009 11:14:51 AM (10 years ago)
Author:
bennylp
Message:

Related to ticket #786: potential memory leak in invite session

File:
1 edited

Legend:

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

    r2394 r2594  
    13681368 
    13691369        status = pjmedia_sdp_neg_get_neg_local(inv->neg, &offer); 
    1370         if (status != PJ_SUCCESS) 
     1370        if (status != PJ_SUCCESS) { 
     1371            pjsip_tx_data_dec_ref(tdata); 
    13711372            goto on_return; 
     1373        } 
    13721374 
    13731375        tdata->msg->body = create_sdp_body(tdata->pool, offer); 
Note: See TracChangeset for help on using the changeset viewer.