src/internal.c: in FreeSSL_Ctx(), use wolfSSL_RefWithMutexFree(&ctx->ref), matching refactor in #8187.

This commit is contained in:
Daniel Pouzzner
2025-12-18 11:48:31 -06:00
parent 83e9a0780f
commit 8a8ef3512e

View File

@@ -3038,7 +3038,7 @@ void FreeSSL_Ctx(WOLFSSL_CTX* ctx)
!defined(WOLFSSL_NO_DEF_TICKET_ENC_CB) && !defined(NO_TLS)
TicketEncCbCtx_Free(&ctx->ticketKeyCtx);
#endif
wolfSSL_RefFree(&ctx->ref);
wolfSSL_RefWithMutexFree(&ctx->ref);
XFREE(ctx, heap, DYNAMIC_TYPE_CTX);
}
else {