From: Dongju Chae Date: Mon, 17 Jun 2019 02:09:23 +0000 (+0900) Subject: [Svace] fix save issues for python filter X-Git-Tag: accepted/tizen/unified/20190620.071918~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31289990ab5a2b4f6b2522f8ddae6c2415d09bc6;p=platform%2Fupstream%2Fnnstreamer.git [Svace] fix save issues for python filter Update files to fix svace issue Signed-off-by: Dongju Chae --- diff --git a/ext/nnstreamer/tensor_filter/tensor_filter_python_core.cc b/ext/nnstreamer/tensor_filter/tensor_filter_python_core.cc index 07e6e49..eb8c2c3 100644 --- a/ext/nnstreamer/tensor_filter/tensor_filter_python_core.cc +++ b/ext/nnstreamer/tensor_filter/tensor_filter_python_core.cc @@ -92,6 +92,7 @@ PYCore::PYCore (const char* _script_path, const char* _custom) PyObject *api_module = PyImport_ImportModule("nnstreamer_python"); g_assert(api_module); shape_cls = PyObject_GetAttrString(api_module, "TensorShape"); + g_assert(shape_cls); Py_XDECREF(api_module); gst_tensors_info_init (&inputTensorMeta);