summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-13 10:06:14 +0100
committerVolker Lendecke <vl@samba.org>2009-02-13 10:20:45 +0100
commit4d100f2f6a832a70f9e481904ece4f7c9f090730 (patch)
tree95835c2bfe21ef658f349528103552b3c1691940
parent0ccdb5f74a0cbb97f3028101ea606f00bd1f73d8 (diff)
downloadsamba-4d100f2f6a832a70f9e481904ece4f7c9f090730.tar.gz
samba-4d100f2f6a832a70f9e481904ece4f7c9f090730.tar.bz2
samba-4d100f2f6a832a70f9e481904ece4f7c9f090730.zip
Fix Coverity ID 745 (RESOURCE_LEAK)
-rw-r--r--source3/utils/ntlm_auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index b94efc99cf..bdc75a16f9 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -558,6 +558,7 @@ static NTSTATUS winbind_pw_check(struct ntlmssp_state *ntlmssp_state, DATA_BLOB
ntlmssp_state->auth_context = NULL;
}
+ SAFE_FREE(error_string);
SAFE_FREE(unix_name);
return nt_status;
}