1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

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 commit is contained in:
Andrew Tridgell 2008-04-14 18:59:40 +02:00
parent dfe4b50098
commit 2ebd7b8099

View File

@ -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);