summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-06-22 02:37:52 +0000
committerJeremy Allison <jra@samba.org>2001-06-22 02:37:52 +0000
commit9a89a5b4fadfe95ffad299a2bd08f7dfaaec707f (patch)
tree1da7773bc3f1e36e029af6d38130a54e909a8e34 /source3
parent8e886b875b3617c024ed6395dd1fb8dcfa5d87f2 (diff)
downloadsamba-9a89a5b4fadfe95ffad299a2bd08f7dfaaec707f.tar.gz
samba-9a89a5b4fadfe95ffad299a2bd08f7dfaaec707f.tar.bz2
samba-9a89a5b4fadfe95ffad299a2bd08f7dfaaec707f.zip
Removed unused (and potentially crash-causing) free function.
Jeremy. (This used to be commit 54ea00fa870f258b885b18e8684caa8488948607)
Diffstat (limited to 'source3')
-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.
********************************************************************/