mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
selector: fix pad leaks in tests
setup_input_pad() creates a new pad so we should unref it once we're done. https://bugzilla.gnome.org/show_bug.cgi?id=765903
This commit is contained in:
parent
7c1a091404
commit
d456f8e8d2
1 changed files with 2 additions and 0 deletions
|
@ -470,6 +470,8 @@ teardown_input_selector_with_2_streams (void)
|
|||
gst_pad_set_active (output_pad, FALSE);
|
||||
gst_check_teardown_sink_pad (selector);
|
||||
gst_check_teardown_element (selector);
|
||||
gst_object_unref (stream1_pad);
|
||||
gst_object_unref (stream2_pad);
|
||||
|
||||
g_mutex_clear (&eos_probe_lock);
|
||||
g_cond_clear (&eos_probe_cond);
|
||||
|
|
Loading…
Reference in a new issue