secret-tool: Use the correct call to wipe password in memory

* Fixes crash
This commit is contained in:
Stef Walter 2012-07-30 11:44:15 +02:00
parent e34381276e
commit 9544b683f1

View File

@ -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