summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGaurav Gupta <g.gupta@samsung.com>2016-10-07 13:04:27 +0530
committerSebastian Dröge <sebastian@centricular.com>2016-10-20 13:14:10 +0300
commit1950b72e2b6a9b4d2dc6799c0694ab1f5b0c1ef6 (patch)
tree8c315df4bde9c336f3ecd293ee0364621e20cda7 /sys
parent4306cb6f79925c3e5799bb4ec5ac6d2eda1125f3 (diff)
waveformsink: Fix Memory leak using GST_PTR_FORMAT
https://bugzilla.gnome.org/show_bug.cgi?id=772497
Diffstat (limited to 'sys')
-rw-r--r--sys/waveform/gstwaveformsink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/waveform/gstwaveformsink.c b/sys/waveform/gstwaveformsink.c
index 30b2ad548..b670a5faa 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;
}