[SCM] Samba Shared Repository - branch master updated
Andrew Tridgell
tridge at samba.org
Mon Sep 27 14:38:02 MDT 2010
The branch, master has been updated
via 7fbe700 s4-ildap: fixed a talloc_steal with references error
from aeedd29 s4-ldb: Added ldb_request_replace_control
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 7fbe7007536214af99b2a2c3f07e3c04c7c6cd07
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Sep 27 12:54:26 2010 -0700
s4-ildap: fixed a talloc_steal with references error
We need talloc_reparent() instead
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Autobuild-User: Andrew Tridgell <tridge at samba.org>
Autobuild-Date: Mon Sep 27 20:38:00 UTC 2010 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source4/libcli/ldap/ldap_ildap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/libcli/ldap/ldap_ildap.c b/source4/libcli/ldap/ldap_ildap.c
index 77bf3f0..10fe8e4 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;
--
Samba Shared Repository
More information about the samba-cvs
mailing list