Changeset 4092
- Timestamp:
- Apr 26, 2012 9:24:50 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjsip/src/pjsip/sip_transport.c
r4032 r4092 660 660 } 661 661 662 /* Add reference to prevent deletion, and to cancel idle timer if 663 * it's running. 664 */ 665 pjsip_transport_add_ref(tr); 666 662 667 /* Fill in tp_info. */ 663 668 tdata->tp_info.transport = tr; … … 677 682 if (tr->tpmgr->on_tx_msg) { 678 683 status = (*tr->tpmgr->on_tx_msg)(tr->endpt, tdata); 679 if (status != PJ_SUCCESS) 684 if (status != PJ_SUCCESS) { 685 pjsip_transport_dec_ref(tr); 680 686 return status; 687 } 681 688 } 682 689 … … 700 707 } 701 708 709 pjsip_transport_dec_ref(tr); 702 710 return status; 703 711 }
Note: See TracChangeset
for help on using the changeset viewer.