From 93191c92f1894b1bead6e8815dc928cf8282786c Mon Sep 17 00:00:00 2001 From: Jonathan Roy Date: Tue, 28 Jun 2016 11:50:59 -0400 Subject: [PATCH] d3dvideosink: leak on caps string https://bugzilla.gnome.org/show_bug.cgi?id=768146 --- sys/d3dvideosink/d3dvideosink.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/d3dvideosink/d3dvideosink.c b/sys/d3dvideosink/d3dvideosink.c index d437470ea7..82120c69f4 100644 --- a/sys/d3dvideosink/d3dvideosink.c +++ b/sys/d3dvideosink/d3dvideosink.c @@ -281,9 +281,7 @@ gst_d3dvideosink_set_caps (GstBaseSink * bsink, GstCaps * caps) GstBufferPool *newfbpool, *oldfbpool; GstStructure *config; - GST_DEBUG_OBJECT (bsink, " "); - - GST_DEBUG_OBJECT (bsink, "Caps: %s", (tmp = gst_caps_to_string (caps))); + GST_DEBUG_OBJECT (bsink, "Caps: %" GST_PTR_FORMAT, caps); sink = GST_D3DVIDEOSINK (bsink); sink_caps = d3d_supported_caps (sink);