mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-02 11:58:06 +02:00
sd-dhcp-lease: fix memleaks
(cherry picked from commit e2975f854831d08a25b4f5eb329b6d04102e115f)
This commit is contained in:
parent
2c6fafad7a
commit
157094abd8
1 changed files with 2 additions and 0 deletions
|
|
@ -279,6 +279,8 @@ sd_dhcp_lease *sd_dhcp_lease_unref(sd_dhcp_lease *lease) {
|
|||
free(option);
|
||||
}
|
||||
|
||||
free(lease->root_path);
|
||||
free(lease->timezone);
|
||||
free(lease->hostname);
|
||||
free(lease->domainname);
|
||||
free(lease->dns);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue