d3dvideosink: leak on caps string

https://bugzilla.gnome.org/show_bug.cgi?id=768146
This commit is contained in:
Jonathan Roy 2016-06-28 11:50:59 -04:00 committed by Sebastian Dröge
parent 276dd2750f
commit 93191c92f1

View file

@ -281,9 +281,7 @@ gst_d3dvideosink_set_caps (GstBaseSink * bsink, GstCaps * caps)
GstBufferPool *newfbpool, *oldfbpool; GstBufferPool *newfbpool, *oldfbpool;
GstStructure *config; GstStructure *config;
GST_DEBUG_OBJECT (bsink, " "); GST_DEBUG_OBJECT (bsink, "Caps: %" GST_PTR_FORMAT, caps);
GST_DEBUG_OBJECT (bsink, "Caps: %s", (tmp = gst_caps_to_string (caps)));
sink = GST_D3DVIDEOSINK (bsink); sink = GST_D3DVIDEOSINK (bsink);
sink_caps = d3d_supported_caps (sink); sink_caps = d3d_supported_caps (sink);