test: Cleanup perform_facial_landmark_detection 90/262190/3
authorKwang Son <k.son@samsung.com>
Wed, 4 Aug 2021 01:42:19 +0000 (21:42 -0400)
committerKwang Son <k.son@samsung.com>
Wed, 4 Aug 2021 04:54:52 +0000 (00:54 -0400)
commitaa3185f2252bdebbfbf48cc3dab3d4c97f54aa7c
treef43c6d958af5413d265c0e21b91a4d30edab938c
parent0a7ab1f50e641c4937d2ca87ab0950067688860b
test: Cleanup perform_facial_landmark_detection

Base on commit 0a7ab1f50e641c4937d2ca87ab0950067688860b
alloactate mv_source, mv_engine, mv_infer in a function
so makes hard to deallocate resource and error handling.

Change-Id: Ib242154ec33602a8a9788203cabc34e37e5f878d
Signed-off-by: Kwang Son <k.son@samsung.com>
test/testsuites/machine_learning/inference/inference_test_suite.c