mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 16:58:02 +02:00
dhcp: dhclient: fix memory leak
Fixes:c263f5355c(cherry picked from commit0ba0f52cb7)
This commit is contained in:
parent
506f781488
commit
147081bd72
1 changed files with 1 additions and 0 deletions
|
|
@ -142,6 +142,7 @@ get_dhclient_leasefile (int addr_family,
|
|||
iface);
|
||||
|
||||
if (g_file_test (path, G_FILE_TEST_EXISTS)) {
|
||||
g_free (rundir_path);
|
||||
NM_SET_OUT (out_preferred_path, g_strdup (path));
|
||||
return path;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue