Changeset 4094 for pjproject/trunk/pjsip/src/pjsip/sip_transport.c
- Timestamp:
- Apr 26, 2012 9:31:00 AM (12 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
- Property svn:mergeinfo changed
/pjproject/branches/1.x merged: 4091-4093
- Property svn:mergeinfo changed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport.c
r4038 r4094 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.