• Beniamino Galvani's avatar
    settings: fix failed assertion · e579a62a
    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)
    (cherry picked from commit d80818e6)
    e579a62a
nm-settings.c 71.3 KB