logind: also potentially GC the session if we cannot send reply

This commit is contained in:
Lennart Poettering
2025-01-08 11:24:18 +01:00
parent 1b48aa3523
commit 394a6ab68c
+1 -1
View File
@@ -1152,7 +1152,7 @@ static int create_session(
* all is complete - or wait again. */
r = session_send_create_reply(session, /* error= */ NULL);
if (r < 0)
return r;
goto fail;
return 1;