From 9a89a5b4fadfe95ffad299a2bd08f7dfaaec707f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 22 Jun 2001 02:37:52 +0000 Subject: [PATCH] Removed unused (and potentially crash-causing) free function. Jeremy. (This used to be commit 54ea00fa870f258b885b18e8684caa8488948607) --- source3/rpc_parse/parse_lsa.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c index 9a7ae0f060c..18ed6943eca 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. ********************************************************************/