ifcfg-rh: fix memleak in make_ip4_setting()

(cherry picked from commit 9d04d62255)
This commit is contained in:
Thomas Haller 2015-01-28 22:43:23 +01:00
parent cd5ba675ac
commit d8ced83633

View file

@ -1125,6 +1125,7 @@ make_ip4_setting (shvarFile *ifcfg,
if (!read_route_file_legacy (route_path, s_ip4, error))
goto done;
}
g_free (route_path);
/* Legacy value NM used for a while but is incorrect (rh #459370) */
if (!nm_setting_ip_config_get_num_dns_searches (s_ip4)) {