mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 17:00:29 +01:00
cli: fix memleak in nmc_setting_get_valid_properties()
This commit is contained in:
parent
f124848b60
commit
fdd09340ce
1 changed files with 1 additions and 0 deletions
|
|
@ -6532,6 +6532,7 @@ nmc_setting_get_valid_properties (NMSetting *setting)
|
|||
valid_props[i++] = g_strdup (key_name);
|
||||
}
|
||||
valid_props[i] = NULL;
|
||||
g_free (props);
|
||||
|
||||
return valid_props;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue