BUG: https://bugzilla.samba.org/show_bug.cgi?id=7113
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11892
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
{
struct dcesrv_handle *handle;
- handle = dcesrv_handle_new(dce_call->context, 0);
+ handle = dcesrv_handle_create(dce_call, 0);
W_ERROR_HAVE_NO_MEMORY(handle);
r->out.handle = &handle->wire_handle;
- handle = dcesrv_handle_new(dce_call->context, 0);
+ handle = dcesrv_handle_create(dce_call, 0);
W_ERROR_HAVE_NO_MEMORY(handle);
r->out.opControl = &handle->wire_handle;