Skip to content

Commit

Permalink
[WIP] memleak fix: converter fix
Browse files Browse the repository at this point in the history
1. converter gtest code mem leak.
2. converter code mem leak (WIP)

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
  • Loading branch information
myungjoo committed Aug 30, 2023
1 parent a8bb64b commit 8bff24a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/nnstreamer_converter/unittest_converter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ TEST (tensorConverterPython, dynamicDimension)
EXPECT_EQ (1U, config.info.info[0].dimension[3]);
gst_tensors_config_free (&config);
gst_caps_unref (caps);
gst_object_unref (sink_pad);

EXPECT_EQ (gst_app_src_push_buffer (GST_APP_SRC (appsrc_handle), buf_2), GST_FLOW_OK);
EXPECT_TRUE (wait_pipeline_process_buffers (data_received, 3, TEST_TIMEOUT_MS));
Expand Down

0 comments on commit 8bff24a

Please sign in to comment.