* Allocate the fixed authentication type so that it may be freed later

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1909 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Antony Mee 2006-08-03 09:49:50 +00:00
parent 4525959f9d
commit 0f2bd31548

View file

@ -174,7 +174,7 @@ get_passwords (const char *vpn_name, const char *vpn_service, gboolean retry)
username = gnome_two_password_dialog_get_username (GNOME_TWO_PASSWORD_DIALOG (dialog));
password = gnome_two_password_dialog_get_password (GNOME_TWO_PASSWORD_DIALOG (dialog));
// Statically set the authentication type for now.
auth_type = "CHAP";
auth_type = g_strdup("CHAP");
result = g_slist_append (result, auth_type);
result = g_slist_append (result, username);
result = g_slist_append (result, password);