waylandsink: do not leak buffer pool in error case
https://bugzilla.gnome.org/show_bug.cgi?id=736735
This commit is contained in:
parent
d2847eaa09
commit
8b0030d044
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user