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
@ -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…
x
Reference in New Issue
Block a user