mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-15 02:10:32 +01:00
ifcfg-rh: fix memory leak in reading of LLDP property
Fixes: 5966e14abf
This commit is contained in:
parent
58fc4381ff
commit
97b14a21e4
1 changed files with 1 additions and 0 deletions
|
|
@ -171,6 +171,7 @@ make_connection_setting (const char *file,
|
|||
lldp = NM_SETTING_CONNECTION_LLDP_ENABLE_RX;
|
||||
else
|
||||
lldp = svParseBoolean (value, NM_SETTING_CONNECTION_LLDP_DEFAULT);
|
||||
g_free (value);
|
||||
|
||||
/* Missing ONBOOT is treated as "ONBOOT=true" by the old network service */
|
||||
g_object_set (s_con,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue