mirror of
https://github.com/samba-team/samba.git
synced 2025-10-28 03:33:13 +03:00
r4359: using talloc_free() of a child struct in a talloc_destructor is useless
metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1933cd12fb
commit
e51f2cf43f
@@ -273,11 +273,6 @@ static int dcesrv_endpoint_destructor(void *ptr)
|
||||
dcesrv_handle_destroy(p, p->handles);
|
||||
}
|
||||
|
||||
if (p->auth_state.gensec_security) {
|
||||
talloc_free(p->auth_state.gensec_security);
|
||||
p->auth_state.gensec_security = NULL;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user