diff options
author | Günther Deschner <gd@samba.org> | 2009-09-03 23:49:50 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-09-04 00:04:40 +0200 |
commit | d9bdf2a02f2966720a573cfa933edb112bf6fe64 (patch) | |
tree | 903d1dd281ac6a17fb82dd19474ba5782858f1df /source3 | |
parent | bdc7bdb0d3e02d04477906dbda8995bc5789ce22 (diff) | |
download | samba-d9bdf2a02f2966720a573cfa933edb112bf6fe64.tar.gz samba-d9bdf2a02f2966720a573cfa933edb112bf6fe64.tar.bz2 samba-d9bdf2a02f2966720a573cfa933edb112bf6fe64.zip |
s3-ntlm_auth: fix two segfaults in diagnostics mode.
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/ntlm_auth_diagnostics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/ntlm_auth_diagnostics.c b/source3/utils/ntlm_auth_diagnostics.c index 0178823801..3ee4acdd83 100644 --- a/source3/utils/ntlm_auth_diagnostics.c +++ b/source3/utils/ntlm_auth_diagnostics.c @@ -495,11 +495,11 @@ static bool test_plaintext(enum ntlm_break break_which) nt_response.data[0]++; break; case NO_LM: - SAFE_FREE(lm_response.data); + TALLOC_FREE(lm_response.data); lm_response.length = 0; break; case NO_NT: - SAFE_FREE(nt_response.data); + TALLOC_FREE(nt_response.data); nt_response.length = 0; break; } |