splitmuxsink: fix mutex leak

This commit is contained in:
Vincent Penquerc'h 2015-04-09 12:58:26 +01:00
parent a51073c7de
commit a862db33b6

View file

@ -248,6 +248,7 @@ gst_splitmux_sink_finalize (GObject * object)
{
GstSplitMuxSink *splitmux = GST_SPLITMUX_SINK (object);
g_cond_clear (&splitmux->data_cond);
g_mutex_clear (&splitmux->lock);
if (splitmux->provided_sink)
gst_object_unref (splitmux->provided_sink);
if (splitmux->provided_muxer)