ifcfg-rh: fix memory leak in reading of LLDP property

Fixes: 5966e14abf
This commit is contained in:
Beniamino Galvani 2015-10-21 13:49:27 +02:00
parent 58fc4381ff
commit 97b14a21e4

View file

@ -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,