Skip to content
Snippets Groups Projects
Commit 2795efd9 authored by Ognyan Tonchev's avatar Ognyan Tonchev Committed by Sebastian Dröge
Browse files

waylandsink: do not leak buffer pool in error case

https://bugzilla.gnome.org/show_bug.cgi?id=736735
parent 1e9e5329
No related branches found
No related tags found
No related merge requests found
...@@ -530,6 +530,7 @@ pool_failed: ...@@ -530,6 +530,7 @@ pool_failed:
config_failed: config_failed:
{ {
GST_DEBUG_OBJECT (bsink, "failed setting config"); GST_DEBUG_OBJECT (bsink, "failed setting config");
gst_object_unref (newpool);
return FALSE; return FALSE;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment