diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-12-13 18:18:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-12-13 18:18:39 +0100 |
commit | 0e3cb8cf88ae3297f53591c70bd1f56832e1ef83 (patch) | |
tree | 04914c1076831eb94585dfb29bfa7e132444732b /src/userdb | |
parent | update TODO (diff) | |
download | systemd-0e3cb8cf88ae3297f53591c70bd1f56832e1ef83.tar.xz systemd-0e3cb8cf88ae3297f53591c70bd1f56832e1ef83.zip |
userdbd: properly close the listener fd on exit
Diffstat (limited to 'src/userdb')
-rw-r--r-- | src/userdb/userdbd-manager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/userdb/userdbd-manager.c b/src/userdb/userdbd-manager.c index 62a1fa5f4b..c1dfe47ea3 100644 --- a/src/userdb/userdbd-manager.c +++ b/src/userdb/userdbd-manager.c @@ -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); |