git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae6166a
)
s4:libcli: avoid talloc_reference() in finddcs_nbt_send()
author
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Aug 2013 16:21:13 +0000
(18:21 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 12 Aug 2013 04:48:47 +0000
(16:48 +1200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/libcli/finddcs_nbt.c
patch
|
blob
|
history
diff --git
a/source4/libcli/finddcs_nbt.c
b/source4/libcli/finddcs_nbt.c
index 6a5d1fd8563e1e14faf69aefff9451c83b668cc8..147efde61c804bd0b00d4fe25cea40b08174da6d 100644
(file)
--- a/
source4/libcli/finddcs_nbt.c
+++ b/
source4/libcli/finddcs_nbt.c
@@
-95,7
+95,7
@@
struct tevent_req *finddcs_nbt_send(TALLOC_CTX *mem_ctx,
}
if (domain_sid) {
- state->domain_sid =
talloc_reference
(state, domain_sid);
+ state->domain_sid =
dom_sid_dup
(state, domain_sid);
if (tevent_req_nomem(state->domain_sid, req)) {
return tevent_req_post(req, event_ctx);
}