1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-07 12:23:51 +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

@@ -266,10 +266,8 @@ _PUBLIC_ NTSTATUS dcesrv_fetch_session_key(struct dcesrv_connection *p,
/*
destroy a link to an endpoint
*/
static int dcesrv_endpoint_destructor(void *ptr)
static int dcesrv_endpoint_destructor(struct dcesrv_connection *p)
{
struct dcesrv_connection *p = ptr;
while (p->contexts) {
struct dcesrv_connection_context *c = p->contexts;