mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 04:42:21 +01:00
src/internal.c: in FreeSSL_Ctx(), use wolfSSL_RefWithMutexFree(&ctx->ref), matching refactor in #8187.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user