Fix memory leak 57/296657/3
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 3 Aug 2023 00:25:19 +0000 (09:25 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 3 Aug 2023 05:22:53 +0000 (14:22 +0900)
commit40ea77351a648269ed7e5ad79d2454d223cf1936
tree64bf182971581806252fc28a21cece75ef917373
parent2a842039bcb40e0ffc7bd2b8d6af2099dbab973c
Fix memory leak

If the callee application does not use tizen main loop function,
the ResultCb instance is not released.
To release the allocated memory properly, this patch adds a new method to
the ClientChannel. When calling the OnTimedOut, amd releases the ResultCb.

Change-Id: Ia29e7ba632296c56ae95d9fd5febc14ecfcd9e22
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/api/amd_api_app_request_broker.cc