diff options
Diffstat (limited to 'libpam/pam_end.c')
-rw-r--r-- | libpam/pam_end.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libpam/pam_end.c b/libpam/pam_end.c index a2d94085..e136b08d 100644 --- a/libpam/pam_end.c +++ b/libpam/pam_end.c @@ -1,7 +1,7 @@ /* pam_end.c */ /* - * $Id: pam_end.c,v 1.7 2008/01/28 14:50:21 kukuk Exp $ + * $Id: pam_end.c,v 1.8 2008/12/11 19:41:49 kukuk Exp $ */ #include "pam_private.h" @@ -82,6 +82,9 @@ int pam_end(pam_handle_t *pamh, int pam_status) _pam_drop(pamh->xauth.data); _pam_overwrite_n((char *)&pamh->xauth, sizeof(pamh->xauth)); + _pam_overwrite(pamh->authtok_type); + _pam_drop(pamh->authtok_type); + /* and finally liberate the memory for the pam_handle structure */ _pam_drop(pamh); |