summaryrefslogtreecommitdiffstats
path: root/libraries/libldap/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libldap/init.c')
-rw-r--r--libraries/libldap/init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/libldap/init.c b/libraries/libldap/init.c
index b991553..213276b 100644
--- a/libraries/libldap/init.c
+++ b/libraries/libldap/init.c
@@ -1,7 +1,7 @@
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1998-2022 The OpenLDAP Foundation.
+ * Copyright 1998-2024 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -544,6 +544,9 @@ ldap_int_destroy_global_options(void)
gopts->ldo_def_sasl_authcid = NULL;
}
#endif
+#ifdef HAVE_TLS
+ ldap_int_tls_destroy( gopts );
+#endif
}
/*