projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1506784
)
tests: fix leak in ghostpad unit test
author
Tim-Philipp Müller
<tim@centricular.net>
Sat, 5 Jan 2013 16:30:04 +0000
(16:30 +0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sat, 5 Jan 2013 16:31:06 +0000
(16:31 +0000)
The created pad is never used and overwritten with
another newly-created pad a few lines below.
tests/check/gst/gstghostpad.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gstghostpad.c
b/tests/check/gst/gstghostpad.c
index
c2265ec
..
a8aa923
100644
(file)
--- a/
tests/check/gst/gstghostpad.c
+++ b/
tests/check/gst/gstghostpad.c
@@
-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)));