summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-08-24 07:32:51 +0000
committerJeremy Allison <jra@samba.org>2001-08-24 07:32:51 +0000
commit659774bffdf926f461dfe497160c1aabc8773c4d (patch)
tree4d7cb79f3517b0265ba86acd012afe7aaec71c98 /source3/rpc_server
parent98e407a02169f65c5518472f9e1edf7ec79c3a8c (diff)
downloadsamba-659774bffdf926f461dfe497160c1aabc8773c4d.tar.gz
samba-659774bffdf926f461dfe497160c1aabc8773c4d.tar.bz2
samba-659774bffdf926f461dfe497160c1aabc8773c4d.zip
Fixed malloc -> talloc problems pointed out by Simo.
Jeremy (This used to be commit 0f5b187387fb536a6866d9109eff82411798f79e)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index a6e45ec03a..cb1b2fb3c9 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -335,7 +335,7 @@ uint32 _lsa_enum_trust_dom(pipes_struct *p, LSA_Q_ENUM_TRUST_DOM *q_u, LSA_R_ENU
return NT_STATUS_INVALID_HANDLE;
/* set up the LSA QUERY INFO response */
- init_r_enum_trust_dom(r_u, enum_context, dom_name, dom_sid,
+ init_r_enum_trust_dom(p->mem_ctx, r_u, enum_context, dom_name, dom_sid,
dom_name != NULL ? NT_STATUS_NOPROBLEMO : NT_STATUS_UNABLE_TO_FREE_VM);
return r_u->status;