summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-06-01 10:10:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:03 -0500
commitd6a42af5e6e69ab2a5effcdfcf2b1cbd48b5d884 (patch)
tree0ba7f645e267346be2e55fa725cc0dff2bb50097
parentb5f37e73592faed1114402f161e013ff8cfd3527 (diff)
downloadsamba-d6a42af5e6e69ab2a5effcdfcf2b1cbd48b5d884.tar.gz
samba-d6a42af5e6e69ab2a5effcdfcf2b1cbd48b5d884.tar.bz2
samba-d6a42af5e6e69ab2a5effcdfcf2b1cbd48b5d884.zip
r23287: Use talloc_move instead of talloc_steal as this is what I really
wanted to do. Michael (This used to be commit f2adae8fc197be1e40769dbda27ee5b1085c3c64)
-rw-r--r--source3/nsswitch/winbindd_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c
index 222d653fdb..97ba6a17f2 100644
--- a/source3/nsswitch/winbindd_ads.c
+++ b/source3/nsswitch/winbindd_ads.c
@@ -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)++;
}