Add mutex and check whether destroying rpc handle is requested or not 13/314213/2
authorsooyeon <sooyeon.kim@samsung.com>
Thu, 4 Jul 2024 10:40:13 +0000 (19:40 +0900)
committerSooyeon Kim <sooyeon.kim@samsung.com>
Mon, 5 Aug 2024 06:37:51 +0000 (06:37 +0000)
commitdca011c5a3dbc7afdc01c542a7e199b169f1af8a
tree2d43c82ba391691b71f75c51f21016c02bf0f9b1
parentfa8ab833bf23961c884abe892a28e57754d33cb4
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>
(cherry picked from commit d973f26f90bfdf4fadf789d0bd88df284cb34c93)
client/tts.c
client/tts_client.c
client/tts_client.h
client/tts_core.c
client/tts_tidl.c