diff --git a/src/win32_init.c b/src/win32_init.c index 63b77663..e84a4873 100644 --- a/src/win32_init.c +++ b/src/win32_init.c @@ -207,6 +207,9 @@ static void freeLibraries(void) if (_glfw.win32.ntdll.instance) _glfwPlatformFreeModule(_glfw.win32.ntdll.instance); + + if (_glfw.win32.uxtheme.instance) + _glfwPlatformFreeModule(_glfw.win32.uxtheme.instance); } // Create key code translation tables