fbd-feedback-manager: Don't leak device list

This commit is contained in:
Guido Günther
2021-04-26 09:34:23 +00:00
committed by Guido Gunther
parent 9c9f767986
commit 678ae7a22d
+2 -1
View File
@@ -130,7 +130,8 @@ app_get_feedback_level (const gchar *app_id)
static void
init_devices (FbdFeedbackManager *self)
{
GList *devices, *l;
GList *l;
g_autolist (GUdevClient) devices = NULL;
g_autoptr(GError) err = NULL;
devices = g_udev_client_query_by_subsystem (self->client, "input");