From 1950b72e2b6a9b4d2dc6799c0694ab1f5b0c1ef6 Mon Sep 17 00:00:00 2001 From: Gaurav Gupta Date: Fri, 7 Oct 2016 13:04:27 +0530 Subject: [PATCH] waveformsink: Fix Memory leak using GST_PTR_FORMAT https://bugzilla.gnome.org/show_bug.cgi?id=772497 --- sys/waveform/gstwaveformsink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/waveform/gstwaveformsink.c b/sys/waveform/gstwaveformsink.c index 30b2ad548e..b670a5faa7 100644 --- a/sys/waveform/gstwaveformsink.c +++ b/sys/waveform/gstwaveformsink.c @@ -322,8 +322,8 @@ gst_waveform_sink_getcaps (GstBaseSink * bsink, GstCaps * filter) wfsink->cached_caps = gst_caps_ref (caps); } - GST_CAT_LOG_OBJECT (waveformsink_debug, wfsink, "Returning caps %s", - gst_caps_to_string (caps)); + GST_CAT_LOG_OBJECT (waveformsink_debug, wfsink, + "Returning caps %" GST_PTR_FORMAT, caps); return caps; }