]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind: also potentially GC the session if we cannot send reply 35919/head
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Nov 2024 22:23:21 +0000 (23:23 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 8 Jan 2025 10:24:18 +0000 (11:24 +0100)
src/login/logind-dbus.c

index dc5c054d47f4ce29fb74404079941175a8359e03..56531a22f6ab66f048f17823ff761bd1b6496ef5 100644 (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;