mirror of
https://github.com/samba-team/samba.git
synced 2025-10-26 23:33:15 +03:00
r15855: more talloc_set_destructor() typesafe fixes. nearly done ...
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
61c6100617
commit
396d82a231
@@ -27,9 +27,8 @@
|
||||
/*
|
||||
destroy a rpc handle
|
||||
*/
|
||||
static int dcesrv_handle_destructor(void *ptr)
|
||||
static int dcesrv_handle_destructor(struct dcesrv_handle *h)
|
||||
{
|
||||
struct dcesrv_handle *h = ptr;
|
||||
DLIST_REMOVE(h->context->handles, h);
|
||||
talloc_free(h);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user