Commit 32660fd2 authored by Nicolas Dufresne's avatar Nicolas Dufresne

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.
parent 4bc3b6e5
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment