Commit ea36e12b authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

multiqueue: Don't leak the sinkpad name

parent b44d5558
......@@ -1780,8 +1780,8 @@ gst_single_queue_new (GstMultiQueue * mqueue, gint id)
sq->src_tainted = TRUE;
name = g_strdup_printf ("sink%d", sq->id);
sq->sinkpad = gst_pad_new_from_static_template (&sinktemplate, name);
g_free (name);
gst_pad_set_chain_function (sq->sinkpad,
GST_DEBUG_FUNCPTR (gst_multi_queue_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