Add missed unlock 50/258450/1
authorCheoleun Moon <chleun.moon@samsung.com>
Tue, 18 May 2021 04:18:56 +0000 (13:18 +0900)
committerCheoleun Moon <chleun.moon@samsung.com>
Tue, 18 May 2021 04:19:01 +0000 (13:19 +0900)
Change-Id: I9ad8f4f9525e2f9c8f5b43ec7994469a6c68cd4f
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
provider/download-provider-client-manager.c

index 403853d..75099a9 100755 (executable)
@@ -381,6 +381,7 @@ static bool __dp_client_run_with_same_client(dp_client_slots_fmt *clients, int c
                        }
                        if (clients[i].client.requests == NULL) { // clear
                                dp_client_slot_free(&clients[i]);
+                               CLIENT_MUTEX_UNLOCK(&clients[i].mutex);
                                dp_mutex_destroy(&clients[i].mutex);
                                continue;
                        }