devicemonitor: fix provider leak
authorWim Taymans <wtaymans@redhat.com>
Sat, 8 Aug 2015 15:59:51 +0000 (17:59 +0200)
committerWim Taymans <wtaymans@redhat.com>
Sat, 8 Aug 2015 15:59:51 +0000 (17:59 +0200)
gst/gstdevicemonitor.c

index 7092fcc..a9eda0a 100644 (file)
@@ -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)