mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
sd-dhcp-lease: fix memleaks
This commit is contained in:
parent
09348d4081
commit
e2975f8548
@ -258,6 +258,8 @@ static sd_dhcp_lease *dhcp_lease_free(sd_dhcp_lease *lease) {
|
|||||||
free(option);
|
free(option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(lease->root_path);
|
||||||
|
free(lease->timezone);
|
||||||
free(lease->hostname);
|
free(lease->hostname);
|
||||||
free(lease->domainname);
|
free(lease->domainname);
|
||||||
free(lease->dns);
|
free(lease->dns);
|
||||||
|
Loading…
Reference in New Issue
Block a user