From 42d50fb009028d5a642ed416e7874b6a0d831021 Mon Sep 17 00:00:00 2001 From: "sooyeon.kim" Date: Mon, 19 Feb 2018 22:49:32 +0900 Subject: [PATCH] Fix double pthread mutex unlock Change-Id: I814ec001cde6911f114ad5189efbc7d749a3922e Signed-off-by: sooyeon.kim (cherry picked from commit 8ca51decfba60d09550a09256a805b43e4b2b708) --- server/ttsd_data.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/ttsd_data.cpp b/server/ttsd_data.cpp index 9181131..bb17c7d 100644 --- a/server/ttsd_data.cpp +++ b/server/ttsd_data.cpp @@ -454,8 +454,6 @@ int __get_sound_data(int index, sound_data_s** data) #ifdef DATA_DEBUG SLOG(LOG_DEBUG, tts_tag(), "[DATA] There is no wav data"); #endif - /* mutex is unlocked */ - pthread_mutex_unlock(&g_sound_data_mutex); return -1; } -- 2.7.4