splitmuxsink: fix mutex leak
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 9 Apr 2015 11:58:26 +0000 (12:58 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 9 Apr 2015 12:01:23 +0000 (13:01 +0100)
gst/multifile/gstsplitmuxsink.c

index 3c3b3c250dfe1933405de7446f6697f533959a43..111fbf77bbb94f053112012057e4ccd3c2b58cc1 100644 (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)