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
parent 721539dc4f
commit f50d809c25

View file

@ -399,8 +399,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;
}