mirror of
https://github.com/samba-team/samba.git
synced 2025-01-19 10:03:58 +03:00
dsdb: acl_read fix a missed talloc_steal
This commit is contained in:
parent
d2e976e32c
commit
cbb0f881ac
@ -192,6 +192,7 @@ static int aclread_callback(struct ldb_request *req, struct ldb_reply *ares)
|
||||
bool to_remove = aclread_is_inaccessible(&msg->elements[i]);
|
||||
if (!to_remove) {
|
||||
ret_msg->elements[k] = msg->elements[i];
|
||||
talloc_steal(ret_msg->elements, msg->elements[i].name);
|
||||
talloc_steal(ret_msg->elements, msg->elements[i].values);
|
||||
k++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user