Add a missing mutex unlock 17/304317/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 16 Jan 2024 03:27:04 +0000 (12:27 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 16 Jan 2024 03:27:04 +0000 (12:27 +0900)
The recursive mutex must be unlocked before returning the function.

Change-Id: I5bf3e62fa3d7ac6c14cb3f8bb022a68d69fa2a9c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/aul_launch.c

index da4bcd3..d482777 100644 (file)
@@ -407,6 +407,7 @@ static int __send_result(struct aul_request_s *req, int res)
                                        req->clifd,
                                        aul_cmd_convert_to_string(req->cmd),
                                        req->cmd);
+                       g_rec_mutex_unlock(&__context.mutex);
                        return -1;
                }