obs-outputs: Fix Windows memory leak

When using alternate mutex implementations, you need to explicitly free
the mutexes with the mbedtls_threading_free_alt() function.
master
jp9000 2020-08-22 11:07:16 -07:00
parent d9408b51ef
commit dd19c29b3e
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ bool obs_module_load(void)
void obs_module_unload(void)
{
#ifdef _WIN32
mbedtls_threading_free_alt();
WSACleanup();
#endif
}