summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
Diffstat (limited to 'ssl')
-rw-r--r--ssl/quic/quic_impl.c2
-rw-r--r--ssl/quic/quic_thread_assist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c
index de39a5c7aa..af505d1203 100644
--- a/ssl/quic/quic_impl.c
+++ b/ssl/quic/quic_impl.c
@@ -453,7 +453,7 @@ SSL *ossl_quic_new(SSL_CTX *ctx)
err:
if (ssl_base == NULL) {
#if defined(OPENSSL_THREADS)
- ossl_crypto_mutex_free(qc->mutex);
+ ossl_crypto_mutex_free(&qc->mutex);
#endif
OPENSSL_free(qc);
} else {
diff --git a/ssl/quic/quic_thread_assist.c b/ssl/quic/quic_thread_assist.c
index e1de72a910..ad49781c74 100644
--- a/ssl/quic/quic_thread_assist.c
+++ b/ssl/quic/quic_thread_assist.c
@@ -91,7 +91,7 @@ int ossl_quic_thread_assist_init_start(QUIC_THREAD_ASSIST *qta,
qta->t = ossl_crypto_thread_native_start(assist_thread_main,
qta, /*joinable=*/1);
if (qta->t == NULL) {
- ossl_crypto_condvar_free(qta->cv);
+ ossl_crypto_condvar_free(&qta->cv);
return 0;
}