[Fix] fix coverity & svace issues
authorSuYeon <suyeon5.kim@samsung.com>
Fri, 16 Jun 2023 02:00:17 +0000 (11:00 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 20 Jun 2023 08:28:40 +0000 (17:28 +0900)
commit431f885ee8a5d8e26bbe31d08f4c10a24c3e91d9
tree2d66a00fd8e74639e75d14dde38ce52cc3f875f2
parent56326aefbb2c351d35d495f6f37f865c150ab63d
[Fix] fix coverity & svace issues

Fix coverity issues.
 - Fix resource leak (free 'dim_str' in '_custom_easy_filter_dynamic' function)
 - Delete unused 'cIdx' value in 'g_array_sort' function.
 - Fix 'g_strlcpy' return value and check fail to copy 'caps_str'.

Fix svace issue.
 - Fix data type of distance value in 'g_array_set_size'(gint ->guint64)

Signed-off-by: SuYeon <suyeon5.kim@samsung.com>
ext/nnstreamer/tensor_decoder/tensordec-boundingbox.c
gst/mqtt/mqttsink.c
tests/nnstreamer_filter_custom/unittest_filter_custom.cc