summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/dcerpc_server.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index cf4ea8bea8..c53036b45b 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -273,11 +273,6 @@ static int dcesrv_endpoint_destructor(void *ptr)
dcesrv_handle_destroy(p, p->handles);
}
- if (p->auth_state.gensec_security) {
- talloc_free(p->auth_state.gensec_security);
- p->auth_state.gensec_security = NULL;
- }
-
return 0;
}