secret-tool: Use the correct call to wipe password in memory
authorStef Walter <stefw@gnome.org>
Mon, 30 Jul 2012 09:44:15 +0000 (11:44 +0200)
committerStef Walter <stefw@gnome.org>
Mon, 30 Jul 2012 09:44:15 +0000 (11:44 +0200)
 * Fixes crash

tool/secret-tool.c

index def22f5..533647f 100644 (file)
@@ -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