Commit 18317050 authored by David Reid's avatar David Reid

Win32: Fix a silly mistake in mal_dlclose().

parent a2181a5e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment