diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2018-09-26 15:14:58 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-10-23 09:10:06 +0200 |
commit | 147081bd72c896b944059ac1538cf599b3b95632 (patch) | |
tree | 25f076e225c30e01c99650757ec62d8cdd65a742 | |
parent | 506f78148839ab8bc898dcd04c79ed76478915c7 (diff) |
dhcp: dhclient: fix memory leak
Fixes: c263f5355cbd86da75aaa161987fee8b59cb8c8b
(cherry picked from commit 0ba0f52cb74375a4a3b2a2f893f7b617510d80fd)
-rw-r--r-- | src/dhcp/nm-dhcp-dhclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcp/nm-dhcp-dhclient.c b/src/dhcp/nm-dhcp-dhclient.c index 4a9361781..33c267123 100644 --- a/src/dhcp/nm-dhcp-dhclient.c +++ b/src/dhcp/nm-dhcp-dhclient.c @@ -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; } |