• Beniamino Galvani's avatar
    settings: fix failed assertion · d80818e6
    Beniamino Galvani authored
    Fix the following assertion failure:
    
      g_object_ref: assertion 'G_IS_OBJECT (object)' failed.
    
    nm_settings_add_connection() can return a NULL connection.
    
    Fixes: f034f17f ('settings: keep the added connection alive for a bit longer')
    (cherry picked from commit 48ce3628)
    d80818e6
nm-settings.c 71.3 KB