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 <[email protected]>
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 <[email protected]>
    
    Autobuild-User: Andrew Tridgell <[email protected]>
    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

Reply via email to