From ea36e12bbcb5e3e26c3566e9f52aa688cf344191 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 14 Apr 2011 09:07:48 +0200 Subject: [PATCH] multiqueue: Don't leak the sinkpad name --- plugins/elements/gstmultiqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/elements/gstmultiqueue.c b/plugins/elements/gstmultiqueue.c index 6b1c240..3988c56 100644 --- a/plugins/elements/gstmultiqueue.c +++ b/plugins/elements/gstmultiqueue.c @@ -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)); -- 2.7.4