mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
secret-tool: Use the correct call to wipe password in memory
* Fixes crash
This commit is contained in:
parent
e34381276e
commit
9544b683f1
@ -267,7 +267,7 @@ read_password_tty (void)
|
|||||||
|
|
||||||
password = getpass ("Password: ");
|
password = getpass ("Password: ");
|
||||||
return secret_value_new_full (password, -1, "text/plain",
|
return secret_value_new_full (password, -1, "text/plain",
|
||||||
(GDestroyNotify)secret_password_clear);
|
(GDestroyNotify)secret_password_wipe);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
Reference in New Issue
Block a user