network-manager-applet r671 - trunk/src/connection-editor



Author: dcbw
Date: Tue Apr 15 19:13:57 2008
New Revision: 671
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=671&view=rev

Log:
don't puke on a NULL SSID

Modified:
   trunk/src/connection-editor/page-wireless.c

Modified: trunk/src/connection-editor/page-wireless.c
==============================================================================
--- trunk/src/connection-editor/page-wireless.c	(original)
+++ trunk/src/connection-editor/page-wireless.c	Tue Apr 15 19:13:57 2008
@@ -367,7 +367,8 @@
 				  NM_SETTING_WIRELESS_MTU, gtk_spin_button_get_value_as_int (priv->mtu),
 				  NULL);
 
-	g_byte_array_free (ssid, TRUE);
+	if (ssid)
+		g_byte_array_free (ssid, TRUE);
 }
 
 static gboolean



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