mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
free CyaSSL CTX count mutex
This commit is contained in:
@ -471,6 +471,7 @@ void FreeSSL_Ctx(CYASSL_CTX* ctx)
|
||||
if (doFree) {
|
||||
CYASSL_MSG("CTX ref count down to 0, doing full free");
|
||||
SSL_CtxResourceFree(ctx);
|
||||
FreeMutex(&ctx->countMutex);
|
||||
XFREE(ctx, ctx->heap, DYNAMIC_TYPE_CTX);
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user