Delete timer handle for service state changed notification 74/280674/4
authorSuyeon Hwang <stom.hwang@samsung.com>
Fri, 2 Sep 2022 05:05:40 +0000 (14:05 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Thu, 3 Nov 2022 04:44:27 +0000 (13:44 +0900)
commit5fdc322b21854c8d7117664abc0d1614a417b92a
tree7f02fdbffd9a5bc93c3bba5e3ab6cff2feb0a790
parent02e6a402037970582f19eedf1860d7cff57ce7cd
Delete timer handle for service state changed notification

- Issue:
The timer handle for service state changed notification is not deleted
if ttsd_finalize() is invoked before that the timer is handled.

- Solution:
This patch makes ttsd_finalize() delete the timer handle. And also, the
memory which stores the state change information should be deleted with
deleting the timer, because the memory is allocated for this timer
behavior.

Change-Id: I7a429c8ab5fb89237ba38c2b1c44c9d606ef01dd
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/ttsd_server.c