summaryrefslogtreecommitdiff
path: root/source4/rpc_server/handles.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/rpc_server/handles.c')
-rw-r--r--source4/rpc_server/handles.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/rpc_server/handles.c b/source4/rpc_server/handles.c
index b203f45e4e..3cc9e8a425 100644
--- a/source4/rpc_server/handles.c
+++ b/source4/rpc_server/handles.c
@@ -30,9 +30,6 @@
static int dcesrv_handle_destructor(void *ptr)
{
struct dcesrv_handle *h = ptr;
- if (h->destroy) {
- h->destroy(h->context, h);
- }
DLIST_REMOVE(h->context->handles, h);
talloc_free(h);
return 0;
@@ -52,7 +49,6 @@ struct dcesrv_handle *dcesrv_handle_new(struct dcesrv_connection_context *contex
return NULL;
}
h->data = NULL;
- h->destroy = NULL;
h->context = context;
h->wire_handle.handle_type = handle_type;