mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-05-08 05:28:03 +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:
parent
cde767cbc9
commit
4c120e487b
1 changed files with 0 additions and 1 deletions
|
|
@ -205,7 +205,6 @@ static DBusGProxy *open_device(pam_handle_t *pamh, DBusGConnection *connection,
|
|||
dev = NULL;
|
||||
}
|
||||
|
||||
g_strfreev ((char **)paths_array->pdata);
|
||||
g_ptr_array_free (paths_array, TRUE);
|
||||
|
||||
return dev;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue