summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2016-05-02 08:29:00 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-05-03 11:02:47 +0300
commit1064bdb06e013a61bf58807e84cb750c7e4fb62f (patch)
treef5f27549f8174de56c449e3e4ade8e4bdc3b258d /tests
parent1e297d7423b47a39aef6d3aa89c8d666b0a57b72 (diff)
fakesink: fix pipeline leak in test
https://bugzilla.gnome.org/show_bug.cgi?id=765903
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/fakesink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/elements/fakesink.c b/tests/check/elements/fakesink.c
index d82189cb2..0f811b1a1 100644
--- a/tests/check/elements/fakesink.c
+++ b/tests/check/elements/fakesink.c
@@ -1071,6 +1071,8 @@ GST_START_TEST (test_last_message_notify)
fail_unless_equals_int (counter1, NUM_BUFFERS);
fail_unless_equals_int (counter2, NUM_BUFFERS);
+
+ gst_object_unref (pipe);
}
GST_END_TEST;