=== modified file 'vpn-daemons/openvpn/auth-dialog/main.c' --- a/vpn-daemons/openvpn/auth-dialog/main.c 2008-09-24 07:19:22 +0000 +++ b/vpn-daemons/openvpn/auth-dialog/main.c 2008-11-03 16:05:46 +0000 @@ -29,16 +29,17 @@ #include #include #include #include #include #include #include #include +#include #include "common-gnome/keyring-helpers.h" #include "src/nm-openvpn-service.h" #include "gnome-two-password-dialog.h" typedef struct { char *vpn_uuid; char *vpn_name; @@ -84,21 +85,21 @@ pem_is_encrypted (const char *filename) } static void clear_secrets (PasswordsInfo *info) { if (info->password) { memset (info->password, 0, strlen (info->password)); - g_free (info->password); + gnome_keyring_memory_free (info->password); } if (info->certpass) { memset (info->certpass, 0, strlen (info->certpass)); - g_free (info->certpass); + gnome_keyring_memory_free (info->certpass); } } static gboolean get_secrets (PasswordsInfo *info, gboolean retry) { GnomeTwoPasswordDialog *dialog; gboolean is_session = TRUE;