Commit 68810843 authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐 Committed by Sebastian Dröge

devicemonitor: Stop using g_clear_pointer()

We dont't want to depend on GLib 2.34 for now.
parent 434bb149
......@@ -232,7 +232,10 @@ gst_device_monitor_dispose (GObject * object)
self->priv->providers = NULL;
}
g_clear_pointer (&self->priv->filters, (GDestroyNotify) g_ptr_array_unref);
if (self->priv->filters) {
g_ptr_array_unref (self->priv->filters);
self->priv->filters = NULL;
}
gst_object_replace ((GstObject **) & self->priv->bus, NULL);
......
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