diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-27 12:54:26 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-27 20:38:00 +0000 |
commit | 7fbe7007536214af99b2a2c3f07e3c04c7c6cd07 (patch) | |
tree | ccc279dd14968083b55cfa46a35caed3384e7da1 /source4 | |
parent | aeedd29d390a1bb8ad1b446bf9b39cffd42e5612 (diff) | |
download | samba-7fbe7007536214af99b2a2c3f07e3c04c7c6cd07.tar.gz samba-7fbe7007536214af99b2a2c3f07e3c04c7c6cd07.tar.bz2 samba-7fbe7007536214af99b2a2c3f07e3c04c7c6cd07.zip |
s4-ildap: fixed a talloc_steal with references error
We need talloc_reparent() instead
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Sep 27 20:38:00 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/ldap/ldap_ildap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/ldap/ldap_ildap.c b/source4/libcli/ldap/ldap_ildap.c index 77bf3f0a35..10fe8e4916 100644 --- a/source4/libcli/ldap/ldap_ildap.c +++ b/source4/libcli/ldap/ldap_ildap.c @@ -73,7 +73,7 @@ _PUBLIC_ NTSTATUS ildap_search_bytree(struct ldap_connection *conn, const char * msg->controls = control_req; req = ldap_request_send(conn, msg); - talloc_steal(msg, req); + talloc_reparent(conn, msg, req); for (i=n=0;true;i++) { struct ldap_message *res; |