diff options
author | Stef Walter <stefw@gnome.org> | 2012-07-30 11:44:15 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2012-07-30 11:44:15 +0200 |
commit | 9544b683f172ce888218cd56bfab3f16a27d65b0 (patch) | |
tree | a43b18161037f85d7da257b02b491d57ab982abb /tool | |
parent | e34381276e458f5061c14ad39c48c3a4631ed885 (diff) | |
download | libsecret-9544b683f172ce888218cd56bfab3f16a27d65b0.tar.gz |
secret-tool: Use the correct call to wipe password in memory
* Fixes crash
Diffstat (limited to 'tool')
-rw-r--r-- | tool/secret-tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/secret-tool.c b/tool/secret-tool.c index def22f5..533647f 100644 --- a/tool/secret-tool.c +++ b/tool/secret-tool.c @@ -267,7 +267,7 @@ read_password_tty (void) password = getpass ("Password: "); return secret_value_new_full (password, -1, "text/plain", - (GDestroyNotify)secret_password_clear); + (GDestroyNotify)secret_password_wipe); } static int |