summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/ads.h2
-rw-r--r--source3/libads/ads_struct.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index c01a1055b2..85c87bfeee 100644
--- a/source3/include/ads.h
+++ b/source3/include/ads.h
@@ -58,6 +58,8 @@ typedef struct {
char *client_site_name;
time_t current_time;
int tried_closest_dc;
+ char *schema_path;
+ char *config_path;
} config;
} ADS_STRUCT;
diff --git a/source3/libads/ads_struct.c b/source3/libads/ads_struct.c
index b01e0879ef..c66d4e84e8 100644
--- a/source3/libads/ads_struct.c
+++ b/source3/libads/ads_struct.c
@@ -159,6 +159,8 @@ void ads_destroy(ADS_STRUCT **ads)
SAFE_FREE((*ads)->config.ldap_server_name);
SAFE_FREE((*ads)->config.server_site_name);
SAFE_FREE((*ads)->config.client_site_name);
+ SAFE_FREE((*ads)->config.schema_path);
+ SAFE_FREE((*ads)->config.config_path);
ZERO_STRUCTP(*ads);