mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 12:28:11 +02:00
sd-dhcp-lease: fix memleaks
(cherry picked from commit e2975f854831d08a25b4f5eb329b6d04102e115f) (cherry picked from commit157094abd8) (cherry picked from commit3fd9d11619)
This commit is contained in:
parent
0f25f47767
commit
4439f07841
1 changed files with 2 additions and 0 deletions
|
|
@ -292,6 +292,8 @@ sd_dhcp_lease *sd_dhcp_lease_unref(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…
Add table
Reference in a new issue