mirror of
https://github.com/samba-team/samba.git
synced 2025-07-22 16:59:09 +03:00
s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
This commit is contained in:
@ -37,7 +37,7 @@ static NET_API_STATUS libnetapi_init_private_context(struct libnetapi_ctx *ctx)
|
||||
return W_ERROR_V(WERR_INVALID_PARAM);
|
||||
}
|
||||
|
||||
priv = TALLOC_ZERO_P(ctx, struct libnetapi_private_ctx);
|
||||
priv = talloc_zero(ctx, struct libnetapi_private_ctx);
|
||||
if (!priv) {
|
||||
return W_ERROR_V(WERR_NOMEM);
|
||||
}
|
||||
|
Reference in New Issue
Block a user