Add calling wc_FreeMutex for globalRNGMutex
@ -13389,6 +13389,11 @@ int wolfSSL_Cleanup(void)
ret = WC_CLEANUP_E;
}
#ifdef HAVE_GLOBAL_RNG
if (wc_FreeMutex(&globalRNGMutex) != 0) {
ret = BAD_MUTEX_E;
#endif
return ret;
The note is not visible to the blocked user.