[Filter/C++Class] Bugfix: close gets a dlb ptr!
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 22 Apr 2020 05:26:58 +0000 (14:26 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 27 Apr 2020 13:38:39 +0000 (22:38 +0900)
Pointer type mismatch fixed!

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc

index 2f047df..877f761 100644 (file)
@@ -102,7 +102,7 @@ tensor_filter_subplugin * tensor_filter_subplugin::get_tfsp_with_checks (
 void tensor_filter_subplugin::cpp_close (const GstTensorFilterProperties * prop,
     void **private_data)
 {
-  tensor_filter_subplugin *obj = get_tfsp_with_checks (private_data);
+  tensor_filter_subplugin *obj = get_tfsp_with_checks (*private_data);
 
   *private_data = nullptr;
   delete obj;