dashsink: Fix memory leak

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9266>
This commit is contained in:
Doug Nazar 2025-06-21 07:10:54 -04:00 committed by GStreamer Marge Bot
parent 805d532280
commit 794cae4b03

View File

@ -763,7 +763,7 @@ gst_dash_sink_get_stream_metadata (GstDashSink * sink,
GstStructure *s;
GstCaps *caps = gst_pad_get_current_caps (stream->pad);
GST_DEBUG_OBJECT (sink, "stream caps %s", gst_caps_to_string (caps));
GST_DEBUG_OBJECT (sink, "stream caps %" GST_PTR_FORMAT, caps);
s = gst_caps_get_structure (caps, 0);
g_free (stream->codec);