bugfix: release br connection lock

Signed-off-by: songzhengteng <songzhengteng@huawei.com>
This commit is contained in:
songzhengteng 2022-09-13 16:14:00 +08:00
parent 39f927068c
commit 7e15388fa0

View File

@ -513,6 +513,7 @@ int32_t GetAndRemovePendingRequestByConnId(uint32_t connId, ListNode *pendings)
}
if (target == NULL) {
(void)pthread_mutex_unlock(&g_connectionLock);
SoftBusLog(SOFTBUS_LOG_CONN, SOFTBUS_LOG_WARN, "get pending request failed, there is no %u conneciton", connId);
return 0;
}