]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r23287: Use talloc_move instead of talloc_steal as this is what I really
authorMichael Adam <obnox@samba.org>
Fri, 1 Jun 2007 10:10:57 +0000 (10:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:03 +0000 (12:23 -0500)
wanted to do.

Michael

source/nsswitch/winbindd_ads.c

index 222d653fdb2aca588fbb8cc4df82f0ef3234e30d..97ba6a17f2377cb5d9e8af286e6d5b8739810192 100644 (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)++;
                                }