From 9544b683f172ce888218cd56bfab3f16a27d65b0 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 30 Jul 2012 11:44:15 +0200 Subject: [PATCH] secret-tool: Use the correct call to wipe password in memory * Fixes crash --- tool/secret-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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