Commit 5f10d2b4 authored by Nicolas Dufresne's avatar Nicolas Dufresne

v4l2transform: Don't leak pool if activation failed

https://bugzilla.gnome.org/show_bug.cgi?id=730207
parent a4b5811d
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment