[Svace] fix res leak case
authorJaeyun <jy1210.jung@samsung.com>
Mon, 13 Sep 2021 08:31:31 +0000 (17:31 +0900)
committerSangjung Woo <again4you@gmail.com>
Wed, 15 Sep 2021 03:14:08 +0000 (12:14 +0900)
commit93b9012f3cf2a48a7e0ccbf961b58bd45ff5e36d
tree4f661f6888599d8663b42f53710bcafd486e1e41
parentfcd180087157e3942049565611fa73e66352e4f3
[Svace] fix res leak case

Fix svace issue,
- fix invalid condition to check the args.
- possible res leak in query close function.
- condition to free strings for test models.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gst/nnstreamer/tensor_if/gsttensorif.c
gst/nnstreamer/tensor_query/tensor_query_common.c
tests/tizen_nnfw_runtime/unittest_tizen_nnfw_runtime_raw.cc