mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +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;
|
struct input_chain *chain = l->data;
|
||||||
if (GST_PAD (chain->ghost_pad) == pad) {
|
if (GST_PAD (chain->ghost_pad) == pad) {
|
||||||
self->priv->input_chains =
|
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);
|
GST_OBJECT_UNLOCK (element);
|
||||||
|
|
||||||
_free_input_chain (chain);
|
_free_input_chain (chain);
|
||||||
|
|
Loading…
Reference in a new issue