svn commit: samba r5401 - in branches/SAMBA_4_0/source/lib: .

tridge at samba.org tridge at samba.org
Tue Feb 15 02:24:58 GMT 2005


Author: tridge
Date: 2005-02-15 02:24:57 +0000 (Tue, 15 Feb 2005)
New Revision: 5401

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

Log:
using talloc_array() is neater here


Modified:
   branches/SAMBA_4_0/source/lib/util_strlist.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/util_strlist.c
===================================================================
--- branches/SAMBA_4_0/source/lib/util_strlist.c	2005-02-15 01:11:20 UTC (rev 5400)
+++ branches/SAMBA_4_0/source/lib/util_strlist.c	2005-02-15 02:24:57 UTC (rev 5401)
@@ -34,7 +34,7 @@
 		sep = LIST_SEP;
 	}
 
-	ret = talloc_realloc(mem_ctx, NULL, const char *, 1);
+	ret = talloc_array(mem_ctx, const char *, 1);
 	if (ret == NULL) {
 		return NULL;
 	}



More information about the samba-cvs mailing list