diff --git a/src/wgl_context.c b/src/wgl_context.c index 0ffe2cfc..ad1ffa55 100644 --- a/src/wgl_context.c +++ b/src/wgl_context.c @@ -146,6 +146,8 @@ static int choosePixelFormat(_GLFWwindow* window, { _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, "WGL: Failed to retrieve pixel format attributes"); + + free(usableConfigs); return 0; }