1
1
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:
Lennart Poettering 2023-12-13 18:18:39 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 30f9309fe5
commit af1a61b3cf

View File

@ -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);