mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
xvimagesink: fix error leak when context creation fails
When context creation fails, error is getting leaked. https://bugzilla.gnome.org/show_bug.cgi?id=754973
This commit is contained in:
parent
35cb3b0c57
commit
dab39bf42b
1 changed files with 2 additions and 1 deletions
|
@ -1756,7 +1756,8 @@ no_context:
|
|||
{
|
||||
gst_element_message_full (GST_ELEMENT (xvimagesink), GST_MESSAGE_ERROR,
|
||||
error->domain, error->code, g_strdup ("Could not initialise Xv output"),
|
||||
error->message, __FILE__, GST_FUNCTION, __LINE__);
|
||||
g_strdup (error->message), __FILE__, GST_FUNCTION, __LINE__);
|
||||
g_clear_error (&error);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue