mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
omx: Free empty buffers list in use_dynamic_buffers
To indicate we are doing dynamic buffers importation, we pass a list of NULL pointers, but we forgot to free that list.
This commit is contained in:
parent
4bc3b6e567
commit
32660fd294
1 changed files with 2 additions and 0 deletions
|
@ -1896,6 +1896,8 @@ gst_omx_port_use_dynamic_buffers (GstOMXPort * port)
|
|||
port->allocation = GST_OMX_BUFFER_ALLOCATION_USE_BUFFER_DYNAMIC;
|
||||
g_mutex_unlock (&port->comp->lock);
|
||||
|
||||
g_list_free (buffers);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue