svn commit: samba r23287 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0_26/source/nsswitch

obnox at samba.org obnox at samba.org
Fri Jun 1 10:10:58 GMT 2007


Author: obnox
Date: 2007-06-01 10:10:57 +0000 (Fri, 01 Jun 2007)
New Revision: 23287

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23287

Log:
Use talloc_move instead of talloc_steal as this is what I really
wanted to do.

Michael


Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_ads.c
   branches/SAMBA_3_0_26/source/nsswitch/winbindd_ads.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_ads.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_ads.c	2007-06-01 03:47:35 UTC (rev 23286)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_ads.c	2007-06-01 10:10:57 UTC (rev 23287)
@@ -1054,7 +1054,7 @@
 				{
 					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)++;
 				}

Modified: branches/SAMBA_3_0_26/source/nsswitch/winbindd_ads.c
===================================================================
--- branches/SAMBA_3_0_26/source/nsswitch/winbindd_ads.c	2007-06-01 03:47:35 UTC (rev 23286)
+++ branches/SAMBA_3_0_26/source/nsswitch/winbindd_ads.c	2007-06-01 10:10:57 UTC (rev 23287)
@@ -1054,7 +1054,7 @@
 				{
 					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)++;
 				}



More information about the samba-cvs mailing list