From a579c882d635dbc4a5985c56dd4a990327067be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 13 Mar 2015 13:42:46 +0000 Subject: [PATCH] bus: Fix another case where we hold the object lock while unreffing a message --- gst/gstbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstbus.c b/gst/gstbus.c index c85212b389..f73e69936e 100644 --- a/gst/gstbus.c +++ b/gst/gstbus.c @@ -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; }