1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-22 07:33:16 +03:00

r6192: remove handle->destroy function pointer, this should be done by talloc destructors now

metze
This commit is contained in:
Stefan Metzmacher
2005-04-04 14:58:52 +00:00
committed by Gerald (Jerry) Carter
parent e66aa87f14
commit 862226f557
2 changed files with 0 additions and 5 deletions

View File

@@ -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;