mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
glmixerbin: fix minor leak
Don't leak removed list node.
This commit is contained in:
parent
7fedb34bea
commit
212ed5523b
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