summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-21 12:26:05 +0200
committerGünther Deschner <gd@samba.org>2008-10-21 12:26:58 +0200
commit9f46669871fa245fe41c465e85dcf4db98634058 (patch)
treece1a58b85853bfa3959163dcbe7fbeee9518b5cc /source3/rpc_server
parentb11f3a60fd8a06870ec12f8d153fd9a60ae820c5 (diff)
downloadsamba-9f46669871fa245fe41c465e85dcf4db98634058.tar.gz
samba-9f46669871fa245fe41c465e85dcf4db98634058.tar.bz2
samba-9f46669871fa245fe41c465e85dcf4db98634058.zip
s3-build: fix the build.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index e3075334b8..2fa705daf3 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -1487,14 +1487,14 @@ NTSTATUS _lsa_GetUserName(pipes_struct *p,
domname = pdb_get_domain(p->server_info->sam_account);
}
- account_name = TALLOC(p->mem_ctx, struct lsa_String);
+ account_name = TALLOC_P(p->mem_ctx, struct lsa_String);
if (!account_name) {
return NT_STATUS_NO_MEMORY;
}
init_lsa_String(account_name, username);
if (r->out.authority_name) {
- authority_name = TALLOC(p->mem_ctx, struct lsa_String);
+ authority_name = TALLOC_P(p->mem_ctx, struct lsa_String);
if (!authority_name) {
return NT_STATUS_NO_MEMORY;
}