rtspclientsink: mark cached caps as maybe-leaked to make leaks tracer happy

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/190>
This commit is contained in:
Tim-Philipp Müller 2021-02-15 12:26:30 +00:00 committed by GStreamer Merge Bot
parent 015e4dc810
commit 8c496762f4

View file

@ -1090,6 +1090,8 @@ gst_rtsp_client_sink_get_all_payloaders_caps (void)
goto out;
}
GST_MINI_OBJECT_FLAG_SET (caps, GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED);
out:
g_once_init_leave (&ret, caps);
}