• Dan Winship's avatar
    libnm: further NULL-vs-empty-array fixes · ab878f74
    Dan Winship authored
    In some cases, code may look at the value of an array-valued property
    during object initialization, before NMObject has set it to its actual
    initial value. So ensure that we initialize all such properties to an
    empty array, rather than leaving them NULL.
    
    Also fix another bug in NMClient that could result in
    priv->active_connections being NULL during certain signal emissions,
    and fix nm_client_get_active_connections() to not return NULL when NM
    was not running.
    ab878f74
nm-device-team.c 8.17 KB