1
0
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:
Andrew Tridgell
2006-05-24 07:35:06 +00:00
committed by Gerald (Jerry) Carter
parent 61c6100617
commit 396d82a231
13 changed files with 15 additions and 30 deletions

View File

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