mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 15:00:25 +01:00
ifupdown: fix crash loading ifupdown settings with empty entries like bridge-ports and mappings
Fixes: d35d3c468a ('settings: rework tracking settings connections and settings plugins')
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/235
This commit is contained in:
parent
a49027ab22
commit
e9ccc2da19
1 changed files with 2 additions and 0 deletions
|
|
@ -89,6 +89,8 @@ static GHashTable *load_eni_ifaces (NMSIfupdownPlugin *self);
|
|||
static void
|
||||
_storage_data_destroy (StorageData *sd)
|
||||
{
|
||||
if (!sd)
|
||||
return;
|
||||
nm_g_object_unref (sd->connection);
|
||||
nm_g_object_unref (sd->storage);
|
||||
g_slice_free (StorageData, sd);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue