1
0
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:
Stefan Metzmacher
2004-12-25 14:01:19 +00:00
committed by Gerald (Jerry) Carter
parent 1933cd12fb
commit e51f2cf43f

View File

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