VD
LeakSanitizer
находит утечки памяти в XextCreateExtension (/usr/lib64/libXext.so.6+0x1373d)
?CMakeLists.txt - https://dpaste.com/BCE4XV6KK
main.cxx:
#include <GLFW/glfw3.h>
auto main(void) -> int {
glfwInit();
GLFWwindow* window = glfwCreateWindow(256, 256, "NONE", nullptr, nullptr);
glfwMakeContextCurrent(window);
glClearColor(0.1f, 0.1f, 0.1f, 1.0f);
while (!glfwWindowShouldClose(window)) {
glfwPollEvents();
glClear(GL_COLOR_BUFFER_BIT);
glfwSwapBuffers(window);
}
glfwTerminate();
return 0;
}