mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-04 15:19:57 +00:00
rtmp2: Mark our memory singleton as leakable
So it doesn't appear in the leaks tracer. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1384>
This commit is contained in:
parent
edd3c4fadf
commit
368c038ef0
1 changed files with 3 additions and 0 deletions
|
@ -208,6 +208,9 @@ init_set_data_frame_value (void)
|
|||
|
||||
set_data_frame_value = gst_memory_new_wrapped (GST_MEMORY_FLAG_READONLY,
|
||||
(gpointer) data, size, 0, size, bytes, (GDestroyNotify) g_bytes_unref);
|
||||
GST_MINI_OBJECT_FLAG_SET (set_data_frame_value,
|
||||
GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED);
|
||||
|
||||
gst_amf_node_free (node);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue