mmi-api-handler: fix to check return value from set_client_{event}_cb_handle() functi... 59/264059/1
authorSung-Jin Park <sj76.park@samsung.com>
Fri, 27 Aug 2021 08:58:07 +0000 (17:58 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Mon, 13 Sep 2021 11:25:15 +0000 (20:25 +0900)
commit5663a792a08e7c13a37233d3640027568afc6d1c
tree711ca91aed6851a6151767e12ff9fdfb35a4f731
parent584e6a4a614de87f184a86cff45088a7633ef25f
mmi-api-handler: fix to check return value from set_client_{event}_cb_handle() functions of client

As client_manager_set_client_{event}_cb_handle() will clone the given handle
and returns a handle which is different value with the given handle.
Therefore we just check the return value to check if the given handle has been
cloned successfully.

Change-Id: I9546b4050b0654a1ef55e423a7e87fb88a9df1a2
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/mmi-api-handler.c