summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2020-12-22 02:20:45 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2020-12-22 02:20:45 +0000
commit4cbafd298d545174d8c736b41507c8174877e367 (patch)
tree320aa1a7076d50ee1fcbe009e6eea9c8b7fa0958 /lib
parentb3374dafaa830695820cf6e455c3df83c065ae17 (diff)
Revert call to pthread_mutex_destroy until installers have a stub.
noted by deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libtls/tls_config.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libtls/tls_config.c b/lib/libtls/tls_config.c
index c46ebd02a9a..7d50eb4ba24 100644
--- a/lib/libtls/tls_config.c
+++ b/lib/libtls/tls_config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_config.c,v 1.59 2020/12/21 14:45:17 bcook Exp $ */
+/* $OpenBSD: tls_config.c,v 1.60 2020/12/22 02:20:44 bcook Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -179,8 +179,6 @@ tls_config_free(struct tls_config *config)
free((char *)config->crl_mem);
free(config->ecdhecurves);
- pthread_mutex_destroy(&config->mutex);
-
free(config);
}