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:
committed by
Gerald (Jerry) Carter
parent
61c6100617
commit
396d82a231
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user