[fix] Fix mem leak in Single API
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Thu, 15 Jun 2023 04:11:04 +0000 (13:11 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Fri, 16 Jun 2023 03:30:49 +0000 (12:30 +0900)
commit9307dc7fbb5f79ed9d54a6e4555b275046467f65
tree99650d5d1351b5657b0addd9f47bf1000e85fb84
parent4ee3239b829b4865475eeca23801609631312935
[fix] Fix mem leak in Single API

- Destroy ml_tensors_info_h in ml_single_close
- Call gst_tensors_info_free

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
c/src/ml-api-inference-single.c