mirror of
https://github.com/samba-team/samba.git
synced 2025-03-30 06:50:24 +03:00
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
This commit is contained in:
parent
5c3cf58a84
commit
7a82aed71b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user