1
0
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:
Andrew Bartlett
2011-06-07 11:44:43 +10:00
parent d5e6a47f06
commit ad0a07c531
114 changed files with 228 additions and 229 deletions

View File

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