summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-10-16 23:06:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:30 -0500
commitda6e42b47f0b14238d932e5818fee93d4fd932c4 (patch)
tree61e58616b433b1bd5fb1a4bade7e6e2c0c404a38 /source3
parente42f449fcc664852c92768450becc9e156bb488f (diff)
downloadsamba-da6e42b47f0b14238d932e5818fee93d4fd932c4.tar.gz
samba-da6e42b47f0b14238d932e5818fee93d4fd932c4.tar.bz2
samba-da6e42b47f0b14238d932e5818fee93d4fd932c4.zip
r19349: Fix invalid free on the PAM_WINBIND_PWD_LAST_SET data.
Guenther (This used to be commit a4d17ee9c960abdf21b9af1601bd1042e0cd7636)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/pam_winbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c
index 9d902e7e05..034c7f1746 100644
--- a/source3/nsswitch/pam_winbind.c
+++ b/source3/nsswitch/pam_winbind.c
@@ -1331,7 +1331,7 @@ int pam_sm_chauthtok(pam_handle_t * pamh, int flags,
goto out;
}
- pam_set_data(pamh, PAM_WINBIND_PWD_LAST_SET, (void *)pwdlastset_prelim, _pam_winbind_cleanup_func);
+ pam_set_data(pamh, PAM_WINBIND_PWD_LAST_SET, (void *)pwdlastset_prelim, NULL);
retval = pam_set_item(pamh, PAM_OLDAUTHTOK, (const void *) pass_old);
pass_old = NULL;