]> git.ipfire.org Git - thirdparty/util-linux.git/commit
su: Clean up PAM resources on all error paths
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 3 Apr 2026 07:40:24 +0000 (09:40 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 8 Apr 2026 10:14:03 +0000 (12:14 +0200)
commitff376bb595e803b7444de4dcfb6b4f4f4409ca38
tree8e157c7a29538bab7997573a1f4e624422ad298b
parentd1a620f96bafc31b946d8d694aa0c5eeb6a2e4f0
su: Clean up PAM resources on all error paths

In most cases, PAM resources are already cleaned up in error paths. Some
exceptions exist though.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
login-utils/login.c
login-utils/su-common.c