mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
glmixerbin: fix minor leak
Don't leak removed list node.
This commit is contained in:
parent
73977da3f9
commit
2dd8148b30
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ gst_gl_mixer_bin_release_pad (GstElement * element, GstPad * pad)
|
|||
struct input_chain *chain = l->data;
|
||||
if (GST_PAD (chain->ghost_pad) == pad) {
|
||||
self->priv->input_chains =
|
||||
g_list_remove_link (self->priv->input_chains, l);
|
||||
g_list_delete_link (self->priv->input_chains, l);
|
||||
GST_OBJECT_UNLOCK (element);
|
||||
|
||||
_free_input_chain (chain);
|
||||
|
|
Loading…
Reference in a new issue