aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_shells
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2023-05-18 17:55:21 +0200
committerTobias Stoeckmann <tobias@stoeckmann.org>2023-05-18 17:55:21 +0200
commit1a734af22a9f35a9a09edaea44a4e0767de6343b (patch)
treec07a5c1d18671bfef1988ad39d577f6b54188202 /modules/pam_shells
parent52e49e17acba24d2a1dd211bae857043c20931f7 (diff)
downloadpam-1a734af22a9f35a9a09edaea44a4e0767de6343b.tar.gz
pam-1a734af22a9f35a9a09edaea44a4e0767de6343b.tar.bz2
pam-1a734af22a9f35a9a09edaea44a4e0767de6343b.zip
pam_shells: Plug econf memory leak
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'modules/pam_shells')
-rw-r--r--modules/pam_shells/pam_shells.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_shells/pam_shells.c b/modules/pam_shells/pam_shells.c
index 05c09c65..276a56dd 100644
--- a/modules/pam_shells/pam_shells.c
+++ b/modules/pam_shells/pam_shells.c
@@ -112,6 +112,7 @@ static int perform_check(pam_handle_t *pamh)
if (!retval)
break;
}
+ econf_free (keys);
econf_free (key_file);
#else
char shellFileLine[256];