mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
xvimagesink: fix pool leak
During set caps when config fails, the referenced newpool is not unref ed. https://bugzilla.gnome.org/show_bug.cgi?id=749530
This commit is contained in:
parent
1b755eb272
commit
b1bc2af766
1 changed files with 1 additions and 0 deletions
|
@ -828,6 +828,7 @@ no_display_size:
|
||||||
config_failed:
|
config_failed:
|
||||||
{
|
{
|
||||||
GST_ERROR_OBJECT (xvimagesink, "failed to set config.");
|
GST_ERROR_OBJECT (xvimagesink, "failed to set config.");
|
||||||
|
gst_object_unref (newpool);
|
||||||
g_mutex_unlock (&xvimagesink->flow_lock);
|
g_mutex_unlock (&xvimagesink->flow_lock);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue