summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/gstreamer/gstreamer_single_stream_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/gstreamer/gstreamer_single_stream_test.cpp b/test/gstreamer/gstreamer_single_stream_test.cpp
index 7292f328..2b561d6b 100644
--- a/test/gstreamer/gstreamer_single_stream_test.cpp
+++ b/test/gstreamer/gstreamer_single_stream_test.cpp
@@ -72,6 +72,12 @@ protected:
return TestPass;
}
+ void cleanup() override
+ {
+ g_clear_object(&convert0_);
+ g_clear_object(&sink0_);
+ }
+
private:
GstElement *convert0_;
GstElement *sink0_;