mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
tests: fix leak in ghostpad unit test
The created pad is never used and overwritten with another newly-created pad a few lines below.
This commit is contained in:
parent
1506784215
commit
e9497b7bf0
1 changed files with 0 additions and 1 deletions
|
@ -1133,7 +1133,6 @@ GST_START_TEST (test_ghost_pads_remove_while_playing)
|
|||
|
||||
bin = gst_bin_new (NULL);
|
||||
gst_element_set_state (bin, GST_STATE_PLAYING);
|
||||
sinkpad = gst_pad_new ("sink", GST_PAD_SINK);
|
||||
|
||||
ghostsrc = gst_ghost_pad_new_no_target ("ghostsrc", GST_PAD_SRC);
|
||||
sinkpad = GST_PAD (gst_proxy_pad_get_internal (GST_PROXY_PAD (ghostsrc)));
|
||||
|
|
Loading…
Reference in a new issue