diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-04-14 18:59:40 +0200 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-04-14 18:59:40 +0200 |
commit | 79af7ff2f7f6fabe8a2a48386088228096e218b4 (patch) | |
tree | af4069f3aba8f3aa6c649bbe992d5fa0c18e3218 | |
parent | 292ed5d04f9b7442bf878c36be24a46fc0373d9c (diff) | |
download | samba-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)
-rw-r--r-- | source4/ntvfs/posix/pvfs_acl.c | 2 |
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); |