summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-19 17:36:38 +0200
committerVolker Lendecke <vl@samba.org>2009-06-19 17:37:30 +0200
commit0524d24fb217813e4939b299b1fabe9a54b4216e (patch)
treeab50db661015cd5badfb7e173f51fc5fa36dfe8a /source3
parent8d1b81926d95f149936f3eb0a50355707d6c8bfa (diff)
downloadsamba-0524d24fb217813e4939b299b1fabe9a54b4216e.tar.gz
samba-0524d24fb217813e4939b299b1fabe9a54b4216e.tar.bz2
samba-0524d24fb217813e4939b299b1fabe9a54b4216e.zip
Add a missing talloc_move() in tldap_search_recv
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/tldap.c2
1 files changed, 1 insertions, 1 deletions
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;
}