mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-06 13:17:44 +03:00
userdbd: properly close the listener fd on exit
(cherry picked from commit0e3cb8cf88
) (cherry picked from commitaf1a61b3cf
) (cherry picked from commit0ff569798c
)
This commit is contained in:
parent
b28b9db29b
commit
f7491ce9e6
@ -132,6 +132,8 @@ Manager* manager_free(Manager *m) {
|
||||
sd_event_source_disable_unref(m->sigusr2_event_source);
|
||||
sd_event_source_disable_unref(m->sigchld_event_source);
|
||||
|
||||
safe_close(m->listen_fd);
|
||||
|
||||
sd_event_unref(m->event);
|
||||
|
||||
return mfree(m);
|
||||
|
Loading…
Reference in New Issue
Block a user