NTSTATUS status;
const char *endpoint;
- dcesrv_sock = talloc_zero(event_ctx, struct dcesrv_socket_context);
+ dcesrv_sock = talloc_zero(dce_ctx, struct dcesrv_socket_context);
NT_STATUS_HAVE_NO_MEMORY(dcesrv_sock);
/* remember the endpoint of this socket */
full_path = talloc_asprintf(dce_ctx, "%s/%s", lpcfg_ncalrpc_dir(lp_ctx),
endpoint);
- dcesrv_sock = talloc_zero(event_ctx, struct dcesrv_socket_context);
+ dcesrv_sock = talloc_zero(dce_ctx, struct dcesrv_socket_context);
NT_STATUS_HAVE_NO_MEMORY(dcesrv_sock);
/* remember the endpoint of this socket */
return NT_STATUS_INVALID_PARAMETER;
}
- dcesrv_sock = talloc_zero(event_ctx, struct dcesrv_socket_context);
+ dcesrv_sock = talloc_zero(dce_ctx, struct dcesrv_socket_context);
NT_STATUS_HAVE_NO_MEMORY(dcesrv_sock);
/* remember the endpoint of this socket */
port = atoi(endpoint);
}
- dcesrv_sock = talloc_zero(event_ctx, struct dcesrv_socket_context);
+ dcesrv_sock = talloc_zero(dce_ctx, struct dcesrv_socket_context);
NT_STATUS_HAVE_NO_MEMORY(dcesrv_sock);
/* remember the endpoint of this socket */