diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index f88f6f4936..2badb825a1 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -6782,6 +6782,7 @@ queued_ip_config_change (gpointer user_data) return TRUE; priv->queued_ip_config_id = 0; + g_object_ref (self); update_ip_config (self, FALSE); /* If no IPv6 link-local address exists but other addresses do then we @@ -6792,6 +6793,8 @@ queued_ip_config_change (gpointer user_data) if (priv->ip6_config && nm_ip6_config_get_num_addresses (priv->ip6_config)) check_and_add_ipv6ll_addr (self); + g_object_unref (self); + return FALSE; }