diff options
Diffstat (limited to 'modules/pam_unix/unix_chkpwd.c')
-rw-r--r-- | modules/pam_unix/unix_chkpwd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_unix/unix_chkpwd.c b/modules/pam_unix/unix_chkpwd.c index 5b9ed43e..b0509e47 100644 --- a/modules/pam_unix/unix_chkpwd.c +++ b/modules/pam_unix/unix_chkpwd.c @@ -155,6 +155,7 @@ static int _unix_verify_password(const char *name, const char *p, int opt) if (pp != NULL) { while (tp && *tp) *tp++ = '\0'; + free(pp); } pp = tp = NULL; } |