git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a missing talloc_move() in tldap_search_recv
[metze/samba/wip.git]
/
source3
/
lib
/
tldap.c
diff --git
a/source3/lib/tldap.c
b/source3/lib/tldap.c
index e1dd67634bbe00939a064ac4ce7aa3d5b501a52c..37caa081ac99d69fe906adea11f5a9c3ab75f6dc 100644
(file)
--- a/
source3/lib/tldap.c
+++ b/
source3/lib/tldap.c
@@
-1195,7
+1195,7
@@
int tldap_search_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
}
}
- *pmsg =
state->result
;
+ *pmsg =
talloc_move(mem_ctx, &state->result)
;
return TLDAP_SUCCESS;
}