[network-manager-applet/NETWORKMANAGER_APPLET_0_7] gconf: fix crash in nma_gconf_connection_new() (bgo #621401)



commit 71e294a08119f9a1023518a3803631a808bf87bd
Author: Bin Li <libin charles gmail com>
Date:   Mon Jul 19 15:50:43 2010 +0200

    gconf: fix crash in nma_gconf_connection_new() (bgo #621401)

 src/gconf-helpers/nma-gconf-connection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gconf-helpers/nma-gconf-connection.c b/src/gconf-helpers/nma-gconf-connection.c
index 648ac17..a275153 100644
--- a/src/gconf-helpers/nma-gconf-connection.c
+++ b/src/gconf-helpers/nma-gconf-connection.c
@@ -65,7 +65,7 @@ nma_gconf_connection_new (GConfClient *client, const char *conf_dir)
 {
 	NMConnection *connection;
 	NMAGConfConnection *gconf_connection = NULL;
-	GError *error;
+	GError *error = NULL;
 
 	g_return_val_if_fail (GCONF_IS_CLIENT (client), NULL);
 	g_return_val_if_fail (conf_dir != NULL, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]