Add mutex and check whether destroying rpc handle is requested or not 53/314053/8
authorsooyeon <sooyeon.kim@samsung.com>
Thu, 4 Jul 2024 10:40:13 +0000 (19:40 +0900)
committersooyeon <sooyeon.kim@samsung.com>
Tue, 9 Jul 2024 00:32:01 +0000 (09:32 +0900)
commitd973f26f90bfdf4fadf789d0bd88df284cb34c93
tree29f008b998d90659002a464c2b29b96fd6513549
parent67bb856404299cf4ec6f382880875c4b1dce550c
Add mutex and check whether destroying rpc handle is requested or not

- Issue:
rpc handle double free issue is occurred.

- Solution:
We check whether destroying rpc handle is requested or not. Also, we add mutex to protect rpc handle access.

Change-Id: I6db79b254b4c7283ad69f40d8a9d878c9ee24c0f
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
client/tts.c
client/tts_client.c
client/tts_client.h
client/tts_core.c
client/tts_tidl.c