mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 12:50:17 +01:00
ifcfg-rh: fix memleak in make_ip4_setting()
(cherry picked from commit 9d04d62255)
This commit is contained in:
parent
cd5ba675ac
commit
d8ced83633
1 changed files with 1 additions and 0 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue