From d9bdf2a02f2966720a573cfa933edb112bf6fe64 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 3 Sep 2009 23:49:50 +0200 Subject: s3-ntlm_auth: fix two segfaults in diagnostics mode. Guenther --- source3/utils/ntlm_auth_diagnostics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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; } -- cgit