mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
pam: Fix crash when enumerating the devices
We don't need to free this by hand, it'll get freed when we free the array itself.
This commit is contained in:
@ -205,7 +205,6 @@ static DBusGProxy *open_device(pam_handle_t *pamh, DBusGConnection *connection,
|
|||||||
dev = NULL;
|
dev = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_strfreev ((char **)paths_array->pdata);
|
|
||||||
g_ptr_array_free (paths_array, TRUE);
|
g_ptr_array_free (paths_array, TRUE);
|
||||||
|
|
||||||
return dev;
|
return dev;
|
||||||
|
|||||||
Reference in New Issue
Block a user