tsdemux: clear mutex resources in dispose

https://bugzilla.gnome.org/show_bug.cgi?id=736390
This commit is contained in:
Jesper Larsen 2014-09-10 10:58:03 +02:00 committed by Tim-Philipp Müller
parent 7b8bd35d18
commit ff444dbf6d

View file

@ -280,6 +280,7 @@ mpegts_packetizer_dispose (GObject * object)
gst_adapter_clear (packetizer->adapter);
g_object_unref (packetizer->adapter);
g_mutex_clear (&packetizer->group_lock);
packetizer->disposed = TRUE;
packetizer->offset = 0;
packetizer->empty = TRUE;