mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +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:
parent
aca64f642d
commit
997da4a28b
@ -124,7 +124,7 @@ static struct share_mode_data *parse_share_modes(TALLOC_CTX *mem_ctx,
|
|||||||
enum ndr_err_code ndr_err;
|
enum ndr_err_code ndr_err;
|
||||||
DATA_BLOB blob;
|
DATA_BLOB blob;
|
||||||
|
|
||||||
d = talloc_zero(mem_ctx, struct share_mode_data);
|
d = talloc(mem_ctx, struct share_mode_data);
|
||||||
if (d == NULL) {
|
if (d == NULL) {
|
||||||
DEBUG(0, ("talloc failed\n"));
|
DEBUG(0, ("talloc failed\n"));
|
||||||
goto fail;
|
goto fail;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user