aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_listfile/pam_listfile.c
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2009-08-24 03:06:11 -0700
committerSteve Langasek <vorlon@debian.org>2019-01-08 21:25:43 -0800
commit78915f5a06936cc24cf7776c8b53d08b6ea3616c (patch)
tree6325216d4660f2a33d2161d71302b8c3f47c76e5 /modules/pam_listfile/pam_listfile.c
parentfdd6439782a15a1abe342044e07e5f7501ae73de (diff)
parent212b52cf29c06cc209bc8ac0540dbab1acdf1464 (diff)
downloadpam-78915f5a06936cc24cf7776c8b53d08b6ea3616c.tar.gz
pam-78915f5a06936cc24cf7776c8b53d08b6ea3616c.tar.bz2
pam-78915f5a06936cc24cf7776c8b53d08b6ea3616c.zip
merge upstream version 1.1.0
Diffstat (limited to 'modules/pam_listfile/pam_listfile.c')
-rw-r--r--modules/pam_listfile/pam_listfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_listfile/pam_listfile.c b/modules/pam_listfile/pam_listfile.c
index f276e5b8..dbd92058 100644
--- a/modules/pam_listfile/pam_listfile.c
+++ b/modules/pam_listfile/pam_listfile.c
@@ -239,6 +239,7 @@ pam_sm_authenticate (pam_handle_t *pamh, int flags UNUSED,
retval = pam_get_item(pamh,citem,&void_citemp);
citemp = void_citemp;
if(retval != PAM_SUCCESS) {
+ free(ifname);
return onerr;
}
if((citem == PAM_USER) && !citemp) {