bus: Fix another case where we hold the object lock while unreffing a message

This commit is contained in:
Sebastian Dröge 2015-03-13 13:42:46 +00:00 committed by Tim-Philipp Müller
parent a9598175ee
commit a579c882d6

View file

@ -388,8 +388,8 @@ gst_bus_post (GstBus * bus, GstMessage * message)
is_flushing:
{
GST_DEBUG_OBJECT (bus, "bus is flushing");
gst_message_unref (message);
GST_OBJECT_UNLOCK (bus);
gst_message_unref (message);
return FALSE;
}