mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Removed unused (and potentially crash-causing) free function.
Jeremy.
(This used to be commit 54ea00fa87
)
This commit is contained in:
parent
8e886b875b
commit
9a89a5b4fa
@ -625,20 +625,6 @@ BOOL lsa_io_r_enum_trust_dom(char *desc, LSA_R_ENUM_TRUST_DOM *r_e,
|
||||
return True;
|
||||
}
|
||||
|
||||
void lsa_free_r_enum_trust_dom(LSA_R_ENUM_TRUST_DOM * r_e)
|
||||
{
|
||||
safe_free(r_e->uni_domain_name);
|
||||
safe_free(r_e->hdr_domain_name);
|
||||
safe_free(r_e->domain_sid);
|
||||
|
||||
r_e->uni_domain_name = NULL;
|
||||
r_e->hdr_domain_name = NULL;
|
||||
r_e->domain_sid = NULL;
|
||||
|
||||
r_e->num_domains = 0;
|
||||
r_e->ptr_enum_domains = 0;
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
reads or writes a dom query structure.
|
||||
********************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user