1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

s3: talloc_zero is not needed for structs we ndr_pull into

Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Mon May 14 18:59:07 CEST 2012 on sn-devel-104
This commit is contained in:
Volker Lendecke 2012-05-07 11:26:39 +02:00
parent aca64f642d
commit 997da4a28b

View File

@ -124,7 +124,7 @@ static struct share_mode_data *parse_share_modes(TALLOC_CTX *mem_ctx,
enum ndr_err_code ndr_err;
DATA_BLOB blob;
d = talloc_zero(mem_ctx, struct share_mode_data);
d = talloc(mem_ctx, struct share_mode_data);
if (d == NULL) {
DEBUG(0, ("talloc failed\n"));
goto fail;