diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-01-27 12:50:24 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-01-27 12:52:01 +0100 |
commit | 21455d35b13cb7e6ed225b81bdaf566158b14350 (patch) | |
tree | 412618824b7b9ac9851447d3f5489c0b1a6d9bd6 /gst/gstdebugutils.c | |
parent | eba7fed1d30185d3d8eb496587b0f98ac84db9cb (diff) | |
download | gstreamer-21455d35b13cb7e6ed225b81bdaf566158b14350.tar.gz |
tests: fix some more leaks
Diffstat (limited to 'gst/gstdebugutils.c')
-rw-r--r-- | gst/gstdebugutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstdebugutils.c b/gst/gstdebugutils.c index eddfdace8c..8e31bded74 100644 --- a/gst/gstdebugutils.c +++ b/gst/gstdebugutils.c @@ -351,10 +351,10 @@ debug_dump_element_pad_link (GstPad * pad, GstElement * element, ) { caps = gst_pad_get_current_caps (pad); if (!caps) - caps = gst_caps_copy (gst_pad_get_pad_template_caps (pad)); + caps = gst_pad_get_pad_template_caps (pad); peer_caps = gst_pad_get_current_caps (peer_pad); if (!peer_caps) - peer_caps = gst_caps_copy (gst_pad_get_pad_template_caps (peer_pad)); + peer_caps = gst_pad_get_pad_template_caps (peer_pad); media = debug_dump_describe_caps (caps, details); /* check if peer caps are different */ |