forked from wolfSSL/wolfssl
Merge pull request #2539 from dgarske/mutex_ref
Fixes for cases where mutex was not being free'd
This commit is contained in:
@ -3464,6 +3464,10 @@ void FreeX509(WOLFSSL_X509* x509)
|
||||
FreeAltNames(x509->altNames, x509->heap);
|
||||
x509->altNames = NULL;
|
||||
}
|
||||
|
||||
#if defined(OPENSSL_EXTRA) || defined(OPENSSL_ALL)
|
||||
wc_FreeMutex(&x509->refMutex);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user