projects
/
platform
/
core
/
uifw
/
tts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6138f9e
)
Add missing mutex unlock before exit the function
59/254659/1
author
Suyeon Hwang
<stom.hwang@samsung.com>
Mon, 8 Mar 2021 01:41:02 +0000
(10:41 +0900)
committer
Suyeon Hwang
<stom.hwang@samsung.com>
Mon, 8 Mar 2021 01:41:02 +0000
(10:41 +0900)
Change-Id: I6f6c6f84fc99918f916b387589e5d8e10bcbe83b
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/ttsd_player.c
patch
|
blob
|
history
diff --git
a/server/ttsd_player.c
b/server/ttsd_player.c
index
aaab405
..
539bb56
100644
(file)
--- a/
server/ttsd_player.c
+++ b/
server/ttsd_player.c
@@
-1509,6
+1509,7
@@
int ttsd_player_play_pcm(int uid)
if (NULL != g_playing_info) {
if (uid == g_playing_info->uid) {
SLOG(LOG_DEBUG, tts_tag(), "[Player] uid(%d) has already played", g_playing_info->uid);
+ pthread_mutex_unlock(&g_player_control_mutex);
return 0;
} else {
SLOG(LOG_WARN, tts_tag(), "[Player WARNING] stop old player (%d)", g_playing_info->uid);