network: a segfault was introduced when assigning to args.

Instead of assign a potential null to args it was assigned to **args
(which is uninitialized at this point).

Fix commit 72b9db71c8

https://bugzilla.gnome.org/show_bug.cgi?id=658670
This commit is contained in:
Alban Browaeys 2011-09-09 19:51:27 +02:00 committed by Bastien Nocera
parent ee323d823e
commit 961fe7b496

View file

@ -160,7 +160,7 @@ cc_network_panel_set_property (GObject *object,
g_free (priv->arg_access_point);
priv->arg_access_point = NULL;
**args = g_value_get_boxed (value);
args = g_value_get_boxed (value);
if (args) {
g_debug ("Invoked with operation %s", args[0]);