summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-03-13 13:42:46 (GMT)
committerSebastian Dröge <sebastian@centricular.com>2015-03-13 13:42:46 (GMT)
commitf50d809c2548a3d2e067be81a94b96f4b6923f58 (patch)
tree996dd227cecdab4a9af8f6553380b2131ef2665a
parent721539dc4f029afff5b40b35b42b48874f025f64 (diff)
downloadgstreamer-f50d809c2548a3d2e067be81a94b96f4b6923f58.tar.gz
gstreamer-f50d809c2548a3d2e067be81a94b96f4b6923f58.tar.xz
bus: Fix another case where we hold the object lock while unreffing a message
-rw-r--r--gst/gstbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstbus.c b/gst/gstbus.c
index 9953210..a1a008e 100644
--- a/gst/gstbus.c
+++ b/gst/gstbus.c
@@ -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;
}