1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r23287: Use talloc_move instead of talloc_steal as this is what I really

wanted to do.

Michael
This commit is contained in:
Michael Adam 2007-06-01 10:10:57 +00:00 committed by Gerald (Jerry) Carter
parent 7170d2e9f5
commit f2adae8fc1

View File

@ -1054,7 +1054,7 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain,
{
sid_copy(&(*sid_mem)[*num_names],
&sid_mem_nocache[i]);
(*names)[*num_names] = talloc_steal(names, names_nocache[i]);
(*names)[*num_names] = talloc_move(names, &names_nocache[i]);
(*name_types)[*num_names] = name_types_nocache[i];
(*num_names)++;
}