Skip to content

Commit 8a8ef35

Browse files
committed
src/internal.c: in FreeSSL_Ctx(), use wolfSSL_RefWithMutexFree(&ctx->ref), matching refactor in #8187.
1 parent 83e9a07 commit 8a8ef35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3038,7 +3038,7 @@ void FreeSSL_Ctx(WOLFSSL_CTX* ctx)
30383038
!defined(WOLFSSL_NO_DEF_TICKET_ENC_CB) && !defined(NO_TLS)
30393039
TicketEncCbCtx_Free(&ctx->ticketKeyCtx);
30403040
#endif
3041-
wolfSSL_RefFree(&ctx->ref);
3041+
wolfSSL_RefWithMutexFree(&ctx->ref);
30423042
XFREE(ctx, heap, DYNAMIC_TYPE_CTX);
30433043
}
30443044
else {

0 commit comments

Comments
 (0)