From 7e15388fa0bbb37ab345db0fb4777a57af6d8bce Mon Sep 17 00:00:00 2001 From: songzhengteng Date: Tue, 13 Sep 2022 16:14:00 +0800 Subject: [PATCH] bugfix: release br connection lock Signed-off-by: songzhengteng --- core/connection/br/src/br_connection_manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/connection/br/src/br_connection_manager.c b/core/connection/br/src/br_connection_manager.c index f14067037..4049c9504 100644 --- a/core/connection/br/src/br_connection_manager.c +++ b/core/connection/br/src/br_connection_manager.c @@ -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; }