From: Lennart Poettering Date: Tue, 19 Nov 2024 22:23:21 +0000 (+0100) Subject: logind: also potentially GC the session if we cannot send reply X-Git-Tag: v258-rc1~1669^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F35919%2Fhead;p=thirdparty%2Fsystemd.git logind: also potentially GC the session if we cannot send reply --- diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index dc5c054d47f..56531a22f6a 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -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;