diff --git a/gst/gstdevicemonitor.c b/gst/gstdevicemonitor.c index 7092fcc7979a5e84692f56a0c24a56929cc96578..a9eda0ab91c407174ae0bca701d9c316f9ecb7a4 100644 --- a/gst/gstdevicemonitor.c +++ b/gst/gstdevicemonitor.c @@ -268,6 +268,7 @@ bus_sync_message (GstBus * bus, GstMessage * message, } GST_OBJECT_UNLOCK (monitor); + gst_object_unref (provider); gst_object_unref (device); if (matches)