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
@ -1489,6 +1489,7 @@ dup_failed:
|
|||||||
allocator_failed:
|
allocator_failed:
|
||||||
{
|
{
|
||||||
GST_ERROR_OBJECT (pool, "Failed to create V4L2 allocator");
|
GST_ERROR_OBJECT (pool, "Failed to create V4L2 allocator");
|
||||||
|
gst_object_unref (pool);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user