mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-06 22:56:07 +00:00
multiqueue: Don't leak the sinkpad name
This commit is contained in:
parent
b44d555865
commit
ea36e12bbc
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue