summaryrefslogtreecommitdiff
path: root/source3/rpc_server/epmapper
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server/epmapper')
-rw-r--r--source3/rpc_server/epmapper/srv_epmapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/epmapper/srv_epmapper.c b/source3/rpc_server/epmapper/srv_epmapper.c
index f7f3617f15..b9ddd0583f 100644
--- a/source3/rpc_server/epmapper/srv_epmapper.c
+++ b/source3/rpc_server/epmapper/srv_epmapper.c
@@ -384,7 +384,7 @@ error_status_t _epm_Insert(struct pipes_struct *p,
if (r->in.num_ents > 0) {
struct dcesrv_ep_entry_list *el;
- el = talloc_zero(p->mem_ctx, struct dcesrv_ep_entry_list);
+ el = talloc_zero(p, struct dcesrv_ep_entry_list);
if (el == NULL) {
rc = EPMAPPER_STATUS_NO_MEMORY;
goto done;