summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-25 14:01:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:38 -0500
commit4620625ea3c49c2795bcf706387c09b930079534 (patch)
tree5fc3674c7959176f8e7485450c77389d9faa0308 /source4/rpc_server
parent0f1444b77232d59aaa025fa44e5b88c4aabaf877 (diff)
downloadsamba-4620625ea3c49c2795bcf706387c09b930079534.tar.gz
samba-4620625ea3c49c2795bcf706387c09b930079534.tar.bz2
samba-4620625ea3c49c2795bcf706387c09b930079534.zip
r4359: using talloc_free() of a child struct in a talloc_destructor is useless
metze (This used to be commit e51f2cf43f2cbcf3c3bbb00abc99f1bddb9f7f35)
Diffstat (limited to 'source4/rpc_server')
-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;
}