From 0524d24fb217813e4939b299b1fabe9a54b4216e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 19 Jun 2009 17:36:38 +0200 Subject: Add a missing talloc_move() in tldap_search_recv --- source3/lib/tldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index e1dd67634b..37caa081ac 100644 --- 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; } -- cgit