aggregator: Unref the taglist in GstAggregator::stop()

This commit is contained in:
Sebastian Dröge 2014-10-06 10:11:23 +03:00 committed by Tim-Philipp Müller
parent cc14d18e08
commit 034e74b216

View file

@ -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;
}