summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorStefan Walter <stefw@src.gnome.org>2007-06-25 17:07:41 +0000
committerStefan Walter <stefw@src.gnome.org>2007-06-25 17:07:41 +0000
commit920d3e8a4081b9717864916448551075f09a1d68 (patch)
tree04f50d0585dccebee0766dc10f308aa33d40567f /ui
parentf820acea09de70110d27fdbdbf2d69b3834f3877 (diff)
Use gnome_keyring_free_password() to zero out passwords even when not
* daemon/gnome-keyring-daemon-ops.c: * keyrings/gkr-keyring-item.c: * keyrings/gkr-keyring.c: * library/gnome-keyring-proto.c: * library/gnome-keyring-utils.c: * library/gnome-keyring.c: * library/gnome-keyring.h: * ui/gkr-ask-request.c: Use gnome_keyring_free_password() to zero out passwords even when not using nonpageable memory. svn path=/trunk/; revision=655
Diffstat (limited to 'ui')
-rw-r--r--ui/gkr-ask-request.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/gkr-ask-request.c b/ui/gkr-ask-request.c
index 977eca6a..a79bca37 100644
--- a/ui/gkr-ask-request.c
+++ b/ui/gkr-ask-request.c
@@ -144,9 +144,9 @@ finish_ask_io (GkrAskRequest *ask, gboolean failed)
pv->ask_pid = 0;
/* Cleanup for response processing */
- gnome_keyring_memory_free (ask->typed_password);
+ gnome_keyring_free_password (ask->typed_password);
ask->typed_password = NULL;
- gnome_keyring_memory_free (ask->original_password);
+ gnome_keyring_free_password (ask->original_password);
ask->original_password = NULL;
/* A failed request */
@@ -371,10 +371,10 @@ gkr_ask_request_dispose (GObject *obj)
cancel_ask_if_active (ask);
g_assert (pv->ask_pid == 0);
- gnome_keyring_memory_free (ask->original_password);
+ gnome_keyring_free_password (ask->original_password);
ask->original_password = NULL;
- gnome_keyring_memory_free (ask->typed_password);
+ gnome_keyring_free_password (ask->typed_password);
ask->typed_password = NULL;
G_OBJECT_CLASS(gkr_ask_request_parent_class)->dispose (obj);