git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af5bf2
)
s3:auth_generic: fix talloc_unlink() in auth_generic_set_creds()
author
Stefan Metzmacher
<metze@samba.org>
Wed, 6 Mar 2024 23:11:26 +0000
(
00:11
+0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 23 Apr 2024 14:17:32 +0000
(14:17 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/auth_generic.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/auth_generic.c
b/source3/libsmb/auth_generic.c
index e5120a083a656f2b97913a9cae85f5c2936d8f22..527b51900d8cf644620fc22c9f4e29db33a2b2d1 100644
(file)
--- a/
source3/libsmb/auth_generic.c
+++ b/
source3/libsmb/auth_generic.c
@@
-51,7
+51,7
@@
NTSTATUS auth_generic_set_password(struct auth_generic_state *ans,
NTSTATUS auth_generic_set_creds(struct auth_generic_state *ans,
struct cli_credentials *creds)
{
- talloc_unlink(ans
->credentials, cred
s);
+ talloc_unlink(ans
, ans->credential
s);
ans->credentials = creds;
return NT_STATUS_OK;
}