diff options
author | Steve Langasek <vorlon@debian.org> | 2001-07-10 20:24:16 +0000 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2001-07-10 20:24:16 +0000 |
commit | 1c3bff246cd5c22565ba6fbec1658852c9f99224 (patch) | |
tree | 64d882a1c56887e470b6d55fe7d6dd5fdf9228e2 /modules/pam_unix/unix_chkpwd.c | |
parent | e5d527e8dfba82f1c47f6b1d3751cf2f17cf2cab (diff) | |
download | pam-1c3bff246cd5c22565ba6fbec1658852c9f99224.tar.gz pam-1c3bff246cd5c22565ba6fbec1658852c9f99224.tar.bz2 pam-1c3bff246cd5c22565ba6fbec1658852c9f99224.zip |
Relevant BUGIDs: 440107
Purpose of commit: bugfix/cleanup
Commit summary:
---------------
Removed superfluous use of static variables in md5 and bigcrypt routines,
bringing us a step closer to thread-safeness. Eliminated some variable
indirection along the way.
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; } |