mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
v4l2transform: Don't leak pool if activation failed
https://bugzilla.gnome.org/show_bug.cgi?id=730207
This commit is contained in:
parent
a4b5811d22
commit
5f10d2b4e2
1 changed files with 1 additions and 0 deletions
|
@ -511,6 +511,7 @@ beach:
|
|||
activate_failed:
|
||||
GST_ELEMENT_ERROR (self, RESOURCE, SETTINGS,
|
||||
("failed to activate bufferpool"), ("failed to activate bufferpool"));
|
||||
g_object_unref (pool);
|
||||
return GST_FLOW_ERROR;
|
||||
|
||||
alloc_failed:
|
||||
|
|
Loading…
Reference in a new issue