From 0f2bd3154806dd01ba74519268bfc6150a6efb67 Mon Sep 17 00:00:00 2001 From: Antony Mee Date: Thu, 3 Aug 2006 09:49:50 +0000 Subject: [PATCH] * 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 --- vpn-daemons/pptp/auth-dialog/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpn-daemons/pptp/auth-dialog/main.c b/vpn-daemons/pptp/auth-dialog/main.c index 1a9437ebbf..5c6476eca4 100644 --- a/vpn-daemons/pptp/auth-dialog/main.c +++ b/vpn-daemons/pptp/auth-dialog/main.c @@ -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);