summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-08-14 13:10:42 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-08-14 13:12:35 +1000
commit093148c1f0eca1ee40552c8eddfdc1ba2554d64e (patch)
treedbc9adbb843e1f17c58b46d5db5b783808f8a146 /source4/ldap_server
parent2d7b457e26985c444588546cc2d250c4cd2e2e32 (diff)
downloadsamba-093148c1f0eca1ee40552c8eddfdc1ba2554d64e.tar.gz
samba-093148c1f0eca1ee40552c8eddfdc1ba2554d64e.tar.bz2
samba-093148c1f0eca1ee40552c8eddfdc1ba2554d64e.zip
s4:ldap_server Correct removal of talloc_steal()
This corrects commit 7a82aed71b74af8bc2a8a4381541adbb22452d20. The steal did not set ent->attributes, so it was incorrect to assign to ent->attributes. Andrew Bartlett
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_backend.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index 72366d2db3..a318e265b7 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -427,7 +427,6 @@ 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;
- ent->attributes = res->msgs[i]->elements[j].values;
}
queue_reply:
ldapsrv_queue_reply(call, ent_r);