mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
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:
parent
015e4dc810
commit
8c496762f4
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue