Changeset 6160
- Timestamp:
- Feb 7, 2020 8:20:56 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r6142 r6160 2762 2762 2763 2763 if (status == PJ_SUCCESS) { 2764 pjsip_regc *regc = pjsua_var.acc[acc_id].regc; 2765 2764 2766 if (pjsua_var.acc[acc_id].cfg.allow_via_rewrite && 2765 2767 pjsua_var.acc[acc_id].via_addr.host.slen > 0) … … 2782 2784 * deadlock while making sure that regc won't be destroyed. 2783 2785 */ 2784 pjsip_regc_add_ref( pjsua_var.acc[acc_id].regc);2786 pjsip_regc_add_ref(regc); 2785 2787 PJSUA_UNLOCK(); 2786 2788 2787 2789 //pjsua_process_msg_data(tdata, NULL); 2788 status = pjsip_regc_send( pjsua_var.acc[acc_id].regc, tdata );2790 status = pjsip_regc_send( regc, tdata ); 2789 2791 2790 2792 PJSUA_LOCK(); 2791 if (pjsip_regc_dec_ref( pjsua_var.acc[acc_id].regc) == PJ_EGONE) {2793 if (pjsip_regc_dec_ref(regc) == PJ_EGONE) { 2792 2794 /* regc has been deleted. */ 2793 2795 goto on_return;
Note: See TracChangeset
for help on using the changeset viewer.