mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
v4l2object: Don't leak config structure
This commit is contained in:
parent
2e0fb42e86
commit
43643b8e26
1 changed files with 1 additions and 0 deletions
|
@ -3290,6 +3290,7 @@ gst_v4l2_object_decide_allocation (GstV4l2Object * obj, GstQuery * query)
|
|||
/* FIXME not entirely correct, See bug 728268 */
|
||||
if (gst_buffer_pool_is_active (obj->pool)) {
|
||||
gst_buffer_pool_config_get_params (config, NULL, &size, &min, &max);
|
||||
gst_structure_free (config);
|
||||
goto setup_other_pool;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue