summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-04-14 18:59:40 +0200
committerAndrew Tridgell <tridge@samba.org>2008-04-14 18:59:40 +0200
commit79af7ff2f7f6fabe8a2a48386088228096e218b4 (patch)
treeaf4069f3aba8f3aa6c649bbe992d5fa0c18e3218 /source4/ntvfs/posix
parent292ed5d04f9b7442bf878c36be24a46fc0373d9c (diff)
downloadsamba-79af7ff2f7f6fabe8a2a48386088228096e218b4.tar.gz
samba-79af7ff2f7f6fabe8a2a48386088228096e218b4.tar.bz2
samba-79af7ff2f7f6fabe8a2a48386088228096e218b4.zip
fixed a valgrind error in id mapping
the status field is sent on both call and reply, but was only being initialised on reply (This used to be commit 2ebd7b80998775168959d511fbc987f8b5b7bd34)
Diffstat (limited to 'source4/ntvfs/posix')
-rw-r--r--source4/ntvfs/posix/pvfs_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_acl.c b/source4/ntvfs/posix/pvfs_acl.c
index 2393a2e7a3..f1e469f790 100644
--- a/source4/ntvfs/posix/pvfs_acl.c
+++ b/source4/ntvfs/posix/pvfs_acl.c
@@ -135,7 +135,7 @@ static NTSTATUS pvfs_default_acl(struct pvfs_state *pvfs,
}
sd = *psd;
- ids = talloc_array(sd, struct id_mapping, 2);
+ ids = talloc_zero_array(sd, struct id_mapping, 2);
NT_STATUS_HAVE_NO_MEMORY(ids);
ids[0].unixid = talloc(ids, struct unixid);