git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ccdb5f
)
Fix Coverity ID 745 (RESOURCE_LEAK)
author
Volker Lendecke
<vl@samba.org>
Fri, 13 Feb 2009 09:06:14 +0000
(10:06 +0100)
committer
Volker Lendecke
<vl@samba.org>
Fri, 13 Feb 2009 09:20:45 +0000
(10:20 +0100)
source3/utils/ntlm_auth.c
patch
|
blob
|
history
diff --git
a/source3/utils/ntlm_auth.c
b/source3/utils/ntlm_auth.c
index b94efc99cfa41fac8d015d1b095fa59ddd2544ce..bdc75a16f9b9cff28fae86ecc9db3e327fd7af73 100644
(file)
--- 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;
}