diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-08-14 12:57:46 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-08-14 12:57:46 +1000 |
commit | 7a82aed71b74af8bc2a8a4381541adbb22452d20 (patch) | |
tree | bbaf12584be7718aef53c48fd8afe28dd3389b0d /source4/ldap_server | |
parent | 5c3cf58a842a8ddd5dca785bf5464e0788003400 (diff) | |
download | samba-7a82aed71b74af8bc2a8a4381541adbb22452d20.tar.gz samba-7a82aed71b74af8bc2a8a4381541adbb22452d20.tar.bz2 samba-7a82aed71b74af8bc2a8a4381541adbb22452d20.zip |
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
Diffstat (limited to 'source4/ldap_server')
-rw-r--r-- | source4/ldap_server/ldap_backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c index d479ff83b4..72366d2db3 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); |