mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-07 17:17:44 +03:00
userdbd: properly close the listener fd on exit
(cherry picked from commit 0e3cb8cf88
)
This commit is contained in:
parent
30f9309fe5
commit
af1a61b3cf
@ -124,6 +124,8 @@ Manager* manager_free(Manager *m) {
|
||||
|
||||
m->deferred_start_worker_event_source = sd_event_source_unref(m->deferred_start_worker_event_source);
|
||||
|
||||
safe_close(m->listen_fd);
|
||||
|
||||
sd_event_unref(m->event);
|
||||
|
||||
return mfree(m);
|
||||
|
Loading…
Reference in New Issue
Block a user