memleak fix: unittest/custom filter
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 25 Aug 2023 07:11:26 +0000 (16:11 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 28 Aug 2023 07:31:51 +0000 (16:31 +0900)
Someone has forgot to call free.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
tests/nnstreamer_filter_custom/unittest_filter_custom.cc

index 023661a..c7bc3f0 100644 (file)
@@ -353,6 +353,7 @@ TEST (tensorFilterCustom, notRegisterFlexibleInvoke_n)
 
   gst_object_unref (gstpipe);
   g_free (pipeline);
+  g_free (model_file);
 }
 
 /**