From 034e74b2160a69764e9527558eee6b602bc27fe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 6 Oct 2014 10:11:23 +0300 Subject: [PATCH] aggregator: Unref the taglist in GstAggregator::stop() --- libs/gst/base/gstaggregator.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index 8f535129c9..052f1fc464 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -728,6 +728,10 @@ _stop (GstAggregator * agg) gst_aggregator_iterate_sinkpads (agg, (GstAggregatorPadForeachFunc) _flush_pad, NULL); + if (agg->priv->tags) + gst_tag_list_unref (agg->priv->tags); + agg->priv->tags = NULL; + return TRUE; }