Commit 212ed552 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

glmixerbin: fix minor leak

Don't leak removed list node.
parent 7fedb34b
......@@ -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);
_free_input_chain (chain);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment