git.samba.org
/
amitay
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[amitay/samba.git]
/
source3
/
registry
/
reg_util_token.c
diff --git
a/source3/registry/reg_util_token.c
b/source3/registry/reg_util_token.c
index ca0159a6491322dedc7f1c07c3b33f13a7cc6e65..d599b3a33dd073ae8eeb99ad87776ad7396f0784 100644
(file)
--- a/
source3/registry/reg_util_token.c
+++ b/
source3/registry/reg_util_token.c
@@
-38,7
+38,7
@@
NTSTATUS registry_create_admin_token(TALLOC_CTX *mem_ctx,
return NT_STATUS_INVALID_PARAMETER;
}
- token =
TALLOC_ZERO_P
(mem_ctx, struct security_token);
+ token =
talloc_zero
(mem_ctx, struct security_token);
if (token == NULL) {
DEBUG(1, ("talloc failed\n"));
status = NT_STATUS_NO_MEMORY;