summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index b864e00a13..1c1497a4c4 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -395,7 +395,7 @@ nm_device_init (NMDevice *self)
priv->rfkill_type = RFKILL_TYPE_UNKNOWN;
priv->autoconnect = DEFAULT_AUTOCONNECT;
priv->available_connections = g_hash_table_new_full (g_direct_hash, g_direct_equal, g_object_unref, NULL);
- priv->pending_actions = g_array_sized_new (TRUE, TRUE, sizeof (GQuark), 3);
+ priv->pending_actions = g_array_sized_new (FALSE, TRUE, sizeof (GQuark), 4);
}
static void