Modify to allocate hal_backend_sensor_funcs before get backend 80/313880/4 accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen/9.0/unified/20241030.233910 accepted/tizen/unified/20240704.075643 accepted/tizen/unified/dev/20240708.001556 accepted/tizen/unified/toolchain/20240812.131232 accepted/tizen/unified/x/20240705.012348 accepted/tizen/unified/x/asan/20240813.225515 tizen_9.0_m2_release
authorSangYoun Kwak <sy.kwak@samsung.com>
Wed, 3 Jul 2024 05:19:02 +0000 (14:19 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Wed, 3 Jul 2024 07:27:35 +0000 (16:27 +0900)
commitc9becb7b7447e24315ee33d1b3a059e000531729
tree4d33124db1da6e38a7efee1856396c58e30a6a71
parent058eb06604c9e0bdf08e552fd0782a404b225212
Modify to allocate hal_backend_sensor_funcs before get backend

Previously, the memory for hal backend sensor function was allocated
from the hal backend.
With new hal ABI versioning, it should be allocated from the hal api.
Thus, it is modified to allocate every required memories for hal backend
functions in this hal api sensor.

Change-Id: Ic001081d03866630423db717d35f2558f8c8a0eb
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
src/hal-api-sensor.cpp