mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
v4l2bufferpool: unref pool when v4l2_allocator_new() fails
https://bugzilla.gnome.org/show_bug.cgi?id=739791
This commit is contained in:
parent
cfa5a9d938
commit
74eb903727
1 changed files with 1 additions and 0 deletions
|
@ -1489,6 +1489,7 @@ dup_failed:
|
|||
allocator_failed:
|
||||
{
|
||||
GST_ERROR_OBJECT (pool, "Failed to create V4L2 allocator");
|
||||
gst_object_unref (pool);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue