From: Michael Adam Date: Fri, 1 Jun 2007 10:10:57 +0000 (+0000) Subject: r23287: Use talloc_move instead of talloc_steal as this is what I really X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~299 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2adae8fc197be1e40769dbda27ee5b1085c3c64;p=thirdparty%2Fsamba.git r23287: Use talloc_move instead of talloc_steal as this is what I really wanted to do. Michael --- diff --git a/source/nsswitch/winbindd_ads.c b/source/nsswitch/winbindd_ads.c index 222d653fdb2..97ba6a17f23 100644 --- a/source/nsswitch/winbindd_ads.c +++ b/source/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)++; }