git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8d1b819
)
Add a missing talloc_move() in tldap_search_recv
author
Volker Lendecke
<vl@samba.org>
Fri, 19 Jun 2009 15:36:38 +0000
(17:36 +0200)
committer
Volker Lendecke
<vl@samba.org>
Fri, 19 Jun 2009 15:37:30 +0000
(17:37 +0200)
source3/lib/tldap.c
patch
|
blob
|
history
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;
}
return TLDAP_SUCCESS;
}