summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-07-11 13:08:39 +0200
committerChristian Ambach <ambi@samba.org>2013-07-08 06:00:34 +0200
commitca9068189e00ce1714790933250080ab1c310ee5 (patch)
treeb6c865a1a9a5d24148f2df32684f87648397e981 /source3/winbindd
parenta061b6fe43f3e00dadb5c23244c68e5bc241dfce (diff)
downloadsamba-ca9068189e00ce1714790933250080ab1c310ee5.tar.gz
samba-ca9068189e00ce1714790933250080ab1c310ee5.tar.bz2
samba-ca9068189e00ce1714790933250080ab1c310ee5.zip
s3:idmap_autorid: Don't zero in idmap_autorid_preallocate_wellknown
We initialize everything later anyway Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christian Ambach <ambi@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_autorid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c
index fc362fc17c..493e6df391 100644
--- a/source3/winbindd/idmap_autorid.c
+++ b/source3/winbindd/idmap_autorid.c
@@ -836,7 +836,7 @@ static NTSTATUS idmap_autorid_preallocate_wellknown(struct idmap_domain *dom)
num = ARRAY_SIZE(groups);
- maps = talloc_zero_array(talloc_tos(), struct id_map*, num+1);
+ maps = talloc_array(talloc_tos(), struct id_map*, num+1);
if (!maps) {
return NT_STATUS_NO_MEMORY;
}