Win32: Fix a silly mistake in mal_dlclose().

This commit is contained in:
David Reid
2017-07-22 22:19:48 +10:00
parent a2181a5e68
commit 18317050b7
+1 -1
View File
@@ -1616,7 +1616,7 @@ mal_handle mal_dlopen(const char* filename)
void mal_dlclose(mal_handle handle)
{
#ifdef _WIN32
CloseHandle((HANDLE)handle);
FreeLibrary((HMODULE)handle);
#else
dlclose((void*)handle);
#endif