mirror of
https://github.com/systemd/systemd.git
synced 2026-07-25 00:35:55 +00:00
manager: close hostname fd *after* removing it epoll
Otherwise the epoll removal will fail and result in a warning.
This commit is contained in:
@@ -561,8 +561,8 @@ Manager *manager_free(Manager *m) {
|
||||
dns_resource_key_unref(m->llmnr_host_ipv4_key);
|
||||
dns_resource_key_unref(m->llmnr_host_ipv6_key);
|
||||
|
||||
safe_close(m->hostname_fd);
|
||||
sd_event_source_unref(m->hostname_event_source);
|
||||
safe_close(m->hostname_fd);
|
||||
free(m->llmnr_hostname);
|
||||
free(m->mdns_hostname);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user