Commit ffa90b2e authored by Wim Taymans's avatar Wim Taymans

devicemonitor: fix provider leak

parent 2ef06fd3
...@@ -268,6 +268,7 @@ bus_sync_message (GstBus * bus, GstMessage * message, ...@@ -268,6 +268,7 @@ bus_sync_message (GstBus * bus, GstMessage * message,
} }
GST_OBJECT_UNLOCK (monitor); GST_OBJECT_UNLOCK (monitor);
gst_object_unref (provider);
gst_object_unref (device); gst_object_unref (device);
if (matches) if (matches)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment