diff --git a/src/gst/gstpipewiredeviceprovider.c b/src/gst/gstpipewiredeviceprovider.c index 23a470a29..363ca3e25 100644 --- a/src/gst/gstpipewiredeviceprovider.c +++ b/src/gst/gstpipewiredeviceprovider.c @@ -277,7 +277,7 @@ compare_device_session_priority (const void *a, static void do_add_nodes(GstPipeWireDeviceProvider *self) { struct node_data *nd; - GList *new_devices = NULL; + g_autoptr (GList) new_devices = NULL; GList *l; spa_list_for_each(nd, &self->nodes, link) {