summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_parse/parse_lsa.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c
index 9a7ae0f060..18ed6943ec 100644
--- a/source3/rpc_parse/parse_lsa.c
+++ b/source3/rpc_parse/parse_lsa.c
@@ -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.
********************************************************************/