Changeset 5689
- Timestamp:
- Nov 10, 2017 3:16:30 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_dialog.c
r5608 r5689 330 330 pj_ssize_t len; 331 331 pjsip_dialog *dlg; 332 pj_bool_t lock_incremented = PJ_FALSE; 332 333 333 334 /* Check arguments. */ … … 512 513 * destroyed prematurely (such as in case of transport error). 513 514 */ 514 if (inc_lock) 515 if (inc_lock) { 515 516 pjsip_dlg_inc_lock(dlg); 517 lock_incremented = PJ_TRUE; 518 } 516 519 517 520 /* Create UAS transaction for this request. */ … … 557 560 } 558 561 559 if ( inc_lock) {562 if (lock_incremented) { 560 563 pjsip_dlg_dec_lock(dlg); 561 564 } else {
Note: See TracChangeset
for help on using the changeset viewer.