[fix] Fix memi leak in pipeline API
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Tue, 13 Jun 2023 12:35:46 +0000 (21:35 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Wed, 14 Jun 2023 06:54:52 +0000 (15:54 +0900)
commit4ee3239b829b4865475eeca23801609631312935
tree9ccf44175fd0a39b887b398aab7ed1fe89021875
parent18913e2461db6c7ba08f31ecb27364a1e77db9cd
[fix] Fix memi leak in pipeline API

- Free GstTensorsConfig using gst_tensors_config_free
- Initialize ml_tensors_info_s before set a new one

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