[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-977-g7a82aed

Andrew Bartlett abartlet at samba.org
Thu Aug 13 20:59:19 MDT 2009


The branch, master has been updated
       via  7a82aed71b74af8bc2a8a4381541adbb22452d20 (commit)
      from  5c3cf58a842a8ddd5dca785bf5464e0788003400 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 7a82aed71b74af8bc2a8a4381541adbb22452d20
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Aug 14 12:57:46 2009 +1000

    s4:ldap_server Remove another talloc_steal (with references)
    
    This talloc_steal also conflicts with the ldb_map code, and like the
    previous commit, is rudundent given the talloc_steal of the whole msg
    above.
    
    Andrew Bartlett

-----------------------------------------------------------------------

Summary of changes:
 source4/ldap_server/ldap_backend.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index d479ff8..72366d2 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -427,7 +427,7 @@ static NTSTATUS ldapsrv_SearchRequest(struct ldapsrv_call *call)
 				}
 				ent->attributes[j].num_values = res->msgs[i]->elements[j].num_values;
 				ent->attributes[j].values = res->msgs[i]->elements[j].values;
-				talloc_steal(ent->attributes, res->msgs[i]->elements[j].values);
+				ent->attributes = res->msgs[i]->elements[j].values;
 			}
 queue_reply:
 			ldapsrv_queue_reply(call, ent_r);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list