Skip to content

Commit

Permalink
add missing unlock (#3885)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-wehrmann authored Mar 15, 2024
1 parent 70332e3 commit ed40439
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pjsip/src/pjsip/sip_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -2471,6 +2471,7 @@ PJ_DEF(pj_status_t) pjsip_tpmgr_acquire_transport2(pjsip_tpmgr *mgr,
(sel->u.ip_ver == PJSIP_TPSELECTOR_USE_IPV6_ONLY &&
pjsip_transport_type_get_af(type) != pj_AF_INET6()))
{
pj_lock_release(mgr->lock);
TRACE_((THIS_FILE, "Address type in tpsel not matched"));
return PJSIP_ETPNOTSUITABLE;
}
Expand Down

0 comments on commit ed40439

Please sign in to comment.