From fafc200c9017d152da2ce59c34130456133a2de6 Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin Date: Thu, 6 Oct 2011 12:16:59 +0800 Subject: [PATCH] network: allocate nm-connection for nma-wireless-dialog --- panels/network/network-dialogs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/panels/network/network-dialogs.c b/panels/network/network-dialogs.c index d446dbd..196c6ef 100644 --- a/panels/network/network-dialogs.c +++ b/panels/network/network-dialogs.c @@ -281,6 +281,8 @@ cc_network_panel_connect_to_8021x_network (CcNetworkPanel *panel, return; } + connection = nm_connection_new (); + /* Need a UUID for the "always ask" stuff in the Dialog of Doom */ s_con = (NMSettingConnection *) nm_setting_connection_new (); uuid = nm_utils_uuid_generate (); -- 1.7.3.4