Changeset 5583
- Timestamp:
- Apr 19, 2017 4:07:23 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/turn_session.c
r5534 r5583 629 629 } 630 630 631 /* Add reference before async DNS resolution */ 632 pj_grp_lock_add_ref(sess->grp_lock); 633 631 634 status = pj_dns_srv_resolve(domain, &res_name, default_port, 632 635 sess->pool, resolver, opt, sess, … … 634 637 if (status != PJ_SUCCESS) { 635 638 set_state(sess, PJ_TURN_STATE_NULL); 639 pj_grp_lock_dec_ref(sess->grp_lock); 636 640 goto on_return; 637 641 } … … 1726 1730 set_state(sess, PJ_TURN_STATE_DESTROYING); 1727 1731 sess_shutdown(sess, status); 1732 pj_grp_lock_dec_ref(sess->grp_lock); 1728 1733 return; 1729 1734 } … … 1779 1784 on_session_fail(sess, PJ_STUN_ALLOCATE_METHOD, status, NULL); 1780 1785 } 1786 1787 pj_grp_lock_dec_ref(sess->grp_lock); 1781 1788 } 1782 1789
Note: See TracChangeset
for help on using the changeset viewer.