From 849cf47cce0c6378b38cc1028f935fcd28b2bf90 Mon Sep 17 00:00:00 2001 From: Yongjoo Ahn Date: Tue, 18 Feb 2020 16:38:49 +0900 Subject: [PATCH] [Coverity] Fix unitialized pointer field CID: 1123873 Fix Coverity issues caused by unitialized pointer field in tensor_filter_cpp.cc Signed-off-by: Yongjoo Ahn --- ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc b/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc index e6bbca5..b5b03c2 100644 --- a/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc +++ b/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc @@ -90,7 +90,7 @@ G_END_DECLS /** * @brief Class constructor */ -tensor_filter_cpp::tensor_filter_cpp(const char *name): validity(0xdeafdead), name(g_strdup(name)), ref_count(0) +tensor_filter_cpp::tensor_filter_cpp(const char *name): validity(0xdeafdead), name(g_strdup(name)), ref_count(0), prop(NULL) { } -- 2.7.4