mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
devicemonitor: Stop using g_clear_pointer()
We dont't want to depend on GLib 2.34 for now.
This commit is contained in:
parent
434bb14995
commit
688108431a
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue