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
@ -511,6 +511,7 @@ beach:
|
|||||||
activate_failed:
|
activate_failed:
|
||||||
GST_ELEMENT_ERROR (self, RESOURCE, SETTINGS,
|
GST_ELEMENT_ERROR (self, RESOURCE, SETTINGS,
|
||||||
("failed to activate bufferpool"), ("failed to activate bufferpool"));
|
("failed to activate bufferpool"), ("failed to activate bufferpool"));
|
||||||
|
g_object_unref (pool);
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
|
|
||||||
alloc_failed:
|
alloc_failed:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user