test: Cleanup perform_face_detection 03/262203/1
authorKwang Son <k.son@samsung.com>
Wed, 4 Aug 2021 07:06:26 +0000 (03:06 -0400)
committerKwang Son <k.son@samsung.com>
Wed, 4 Aug 2021 07:06:26 +0000 (03:06 -0400)
commit9b045d0c27ad4dd8b5a51e90dd1bdefb90b1b4c1
tree1c3fa95ffa57e0ee4cc8d7e7bf4a6d8bde465036
parentaa3185f2252bdebbfbf48cc3dab3d4c97f54aa7c
test: Cleanup perform_face_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: Iaf1124821e39c7785955bc9b06a49b5997bb0430
Signed-off-by: Kwang Son <k.son@samsung.com>
test/testsuites/machine_learning/inference/inference_test_suite.c