]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind-session: be tolerant if we failed to remove leader from hashmap
authorMike Yuan <me@yhndnzj.com>
Tue, 26 Dec 2023 06:20:36 +0000 (14:20 +0800)
committerMike Yuan <me@yhndnzj.com>
Thu, 4 Jan 2024 08:19:19 +0000 (16:19 +0800)
commit889975bb00a0db26a30bee967df319df7605fd95
tree39c3a1ef9aeeaa31b3f9a7c793d1bb2e67354272
parentaf1a6c97b63648dba839fac2b829154b39c84d95
logind-session: be tolerant if we failed to remove leader from hashmap

If something wrong happened before hashmap_put(), session_free()
may be called through gc logic, and the assertion is triggered.
src/login/logind-session.c